view Pml/IPmlRpc.cs @ 110:5e717aac4c1d

Improvements in RemotingManager (close event) and Windows Named Pipe (accept time-out)
author Ivo Smits <Ivo@UCIS.nl>
date Fri, 07 Nov 2014 18:33:34 +0100
parents 3ab940a0c7a0
children
line wrap: on
line source

???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);
	}
}