Click or drag to resize

CrosserProtocol Methods

The CrosserProtocol type exposes the following members.

Methods
  NameDescription
Public methodDispose
Clean up the resources used by the protocol
(Overrides ProtocolDispose.)
Protected methodEnsureController
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.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteCall
Invoke the correct RPC controller/method with the payload. Also handles return values when needed
(Inherited from Protocol.)
Protected methodExecuteCallSynchronously
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.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlushTransport
Flushes the IBaseTransport write stream
(Inherited from Protocol.)
Protected methodGetControllerDelegate
Creates a ControllerDelegate to use when calling the controller/method
(Inherited from Protocol.)
Protected methodGetDeadConnectionFrame
Returns a dead connection frame for the crosser protocol
(Overrides ProtocolGetDeadConnectionFrame.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetPingFrame
Returns a PING frame for the crosser protocol
(Overrides ProtocolGetPingFrame.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasControllerInstanceOf
True if the controllers repository has a instance of the specific BinaryKey
(Inherited from Protocol.)
Protected methodInitClientStats
Setup the properties on the ClientStats object
(Inherited from Protocol.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadLoop
Continuously reads the transport and parse messages -> track read-state -> take actions
(Overrides ProtocolReadLoop.)
Public methodRemoveController
Removes a controller instance from the Controllers repository.
(Inherited from Protocol.)
Public methodSend(Byte)
Enqueue the data to send and update the IServerStatistics
(Overrides ProtocolSend(Byte).)
Public methodSend(BinaryKey, String, Byte)
Builds the operation frame and add it to the outgoing queue
(Overrides ProtocolSend(BinaryKey, String, Byte).)
Protected methodSend(Byte, Byte, Byte, Byte)
Builds the operation frame and add it to the outgoing queue
(Overrides ProtocolSend(Byte, Byte, Byte, Byte).)
Public methodSendLoop
Send loop that reads the OutQueue
(Inherited from Protocol.)
Protected methodStartPing
If heartbeat is enabled on this endpoint the method will initiate a ping/pong sequence
(Inherited from Protocol.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also