Click or drag to resize

IProtocol Interface

Base definition for all protocols

Namespace:  Crosser.Common.Server.Protocol
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
public interface IProtocol : IDisposable

The IProtocol type exposes the following members.

Properties
  NameDescription
Public propertyClientStats
The ClientStats representing this IProtocol
Public propertyConnectionContext
The IConnectionContext for the connected client
Public propertyControllers
All IControllers registered on this IProtocol
Public propertyProtocolIdentifier
Unique identifier for each protocol
Public propertyServer
Reference to the server object (singleton)
Public propertySubscriptions
All subscriptions (SubObject) registered on the IProtocol
Public propertyTransport
Communication layer
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodHasControllerInstanceOf
Checks if the IProtocol has a registered instance of the IController passed in
Public methodReadLoop
Protocol read-loop
Public methodRemoveController
Removes a specific IController from the IProtocol
Public methodSend(Byte)
Send a complete frame
Public methodSend(BinaryKey, String, Byte)
Do a RPC call to the client
Top
See Also