CrosserProtocol Methods |
The CrosserProtocol type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
Clean up the resources used by the protocol
(Overrides ProtocolDispose.) |
![]() | 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.
(Inherited from Protocol.) |
![]() | 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
(Inherited from Protocol.) |
![]() | 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 (Inherited from Protocol.) |
![]() | 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
(Inherited from Protocol.) |
![]() | GetControllerDelegate |
Creates a ControllerDelegate to use when calling the controller/method
(Inherited from Protocol.) |
![]() | GetDeadConnectionFrame |
Returns a dead connection frame for the crosser protocol
(Overrides ProtocolGetDeadConnectionFrame.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPingFrame |
Returns a PING frame for the crosser protocol
(Overrides ProtocolGetPingFrame.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HasControllerInstanceOf |
True if the controllers repository has a instance of the specific BinaryKey (Inherited from Protocol.) |
![]() | InitClientStats |
Setup the properties on the ClientStats object
(Inherited from Protocol.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReadLoop |
Continuously reads the transport and parse messages -> track read-state -> take actions
(Overrides ProtocolReadLoop.) |
![]() | RemoveController |
Removes a controller instance from the Controllers repository.
(Inherited from Protocol.) |
![]() | Send(Byte) |
Enqueue the data to send and update the IServerStatistics (Overrides ProtocolSend(Byte).) |
![]() | Send(BinaryKey, String, Byte) |
Builds the operation frame and add it to the outgoing queue
(Overrides ProtocolSend(BinaryKey, String, Byte).) |
![]() | Send(Byte, Byte, Byte, Byte) |
Builds the operation frame and add it to the outgoing queue
(Overrides ProtocolSend(Byte, Byte, Byte, Byte).) |
![]() | SendLoop |
Send loop that reads the OutQueue (Inherited from Protocol.) |
![]() | StartPing |
If heartbeat is enabled on this endpoint the method will initiate a ping/pong sequence
(Inherited from Protocol.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |