Protocol Methods |
The Protocol type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
Clean up the usage of controllers for the connection
|
![]() | EnsureController |
Makes sure that there is an instance of a specific controller.
Also makes sure that security is in place. Knowing what methods the connection can call.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExecuteCall |
Invoke the correct RPC controller/method with the payload.
Also handles return values when needed
|
![]() | ExecuteCallSynchronously |
Invoke the correct RPC controller/method with the payload.
Also handles return values when needed
Will execute 1 operation at the time. Other operations will wait.
This will be executed when the IController or the method being invoked is decorated with the RunSynchronouslyAttribute |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FlushTransport |
Flushes the IBaseTransport write stream
|
![]() | GetControllerDelegate |
Creates a ControllerDelegate to use when calling the controller/method
|
![]() | GetDeadConnectionFrame |
Sent to clients when ping has failed more times than allowed
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPingFrame |
Each protocol is responsible for returning a valid ping frame for that protocol
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HasControllerInstanceOf |
True if the controllers repository has a instance of the specific BinaryKey |
![]() | InitClientStats |
Setup the properties on the ClientStats object
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReadLoop |
Each protocol should implement a read loop
|
![]() | RemoveController |
Removes a controller instance from the Controllers repository.
|
![]() | Send(Byte) |
Enqueue the data to send and update the IServerStatistics |
![]() | Send(BinaryKey, String, Byte) |
Each protocol is responsible for building the message to send
|
![]() | Send(Byte, Byte, Byte, Byte) | |
![]() | SendLoop |
Send loop that reads the OutQueue |
![]() | StartPing |
If heartbeat is enabled on this endpoint the method will initiate a ping/pong sequence
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |