diff Pml/IPmlRpc.cs @ 0:3ab940a0c7a0

Initial commit
author Ivo Smits <Ivo@UCIS.nl>
date Tue, 11 Sep 2012 16:28:53 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Pml/IPmlRpc.cs	Tue Sep 11 16:28:53 2012 +0200
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+
+namespace UCIS.Pml {
+	interface IPmlRpcServer {
+		IDictionary<string, Delegate> ExportedMethods { get; }
+		IDictionary<string, Object> ExportedObjects { get; }
+	}
+	interface IPmlRpcClient {
+		void Call(String method, params Object[] args);
+		void Invoke(String method, params Object[] args);
+		void BeginInvoke(String method, Object[] args, AsyncCallback callback, Object state);
+		Object EndInvoke(IAsyncResult result);
+	}
+}