1234567891011121314151617181920212223242526272829 |
- using InABox.Clients;
- using InABox.Core;
- namespace InABox.Rpc
- {
- public interface IRpcClientTransport : IRpcTransport
- {
- bool Ping();
- DatabaseInfo Info();
-
- void Connect();
- void Send(RpcMessage message);
-
- TResult Send<TCommand, TParameters, TResult>(TParameters parameters)
- where TCommand : IRpcCommand<TParameters,TResult>
- where TParameters : ISerializeBinary
- where TResult : ISerializeBinary, new();
-
- void Disconnect();
-
- event RpcTransportMessageEvent OnMessage;
- bool IsConnected();
- bool IsSecure();
- }
- }
|