IProtocol Interface |
Namespace: Crosser.Common.Server.Protocol
public interface IProtocol : IDisposable
The IProtocol type exposes the following members.
Name | Description | |
---|---|---|
ClientStats |
The ClientStats representing this IProtocol | |
ConnectionContext |
The IConnectionContext for the connected client
| |
Controllers |
All IControllers registered on this IProtocol | |
ProtocolIdentifier |
Unique identifier for each protocol
| |
Server |
Reference to the server object (singleton)
| |
Subscriptions |
All subscriptions (SubObject) registered on the IProtocol | |
Transport |
Communication layer
|
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
HasControllerInstanceOf |
Checks if the IProtocol has a registered instance of the IController passed in
| |
ReadLoop |
Protocol read-loop
| |
RemoveController |
Removes a specific IController from the IProtocol | |
Send(Byte) |
Send a complete frame
| |
Send(BinaryKey, String, Byte) |
Do a RPC call to the client
|