Click or drag to resize

Protocol Fields

The Protocol type exposes the following members.

Fields
  NameDescription
Protected fieldcallbackId
Buffer for callback-id.
Protected fieldcallbackIdPos
Length to read from callbackId
Protected fieldCancellation
CancellationToken used in communication
Protected fieldCloseReason
Reason CloseReason for closing the connection
Protected fieldcontroller
Controller buffer, controller to call is within
Protected fieldcontrollerPos
The length to read from the controller
Protected fieldcontrollerToCall
Cache controller since it will save time when same controller is called for each message
Protected fielddata
Last byte operation read from the IBaseTransport
Protected fielddisposed
Flag for knowing if the object has been disposed
Protected fieldiam
Buffer for the IAM message operation
Protected fieldiampos
Size of the IAM message
Protected fieldInQueue
Queue for incoming data
Protected fieldInteractive
If true the protocol will respond with +OK messages for every valid operation. Only possible for full-duplex connections.
Protected fieldIsAuthenticated
True if the Authenticate(IProtocol) method returned true
Protected fieldlastControllerAsByte
Cache for last controller called
Protected fieldlastControllerKey
Cache for the last controller called as BinaryKey
Protected fieldlastMethodAsByte
Cache for last method called
Protected fieldlastMethodKey
Cache for the last method called as BinaryKey
Protected fieldlen
Length to read from the IBaseTransport
Protected fieldlocker
For blocking simultaneous access to certain areas
Protected fieldmethod
Method buffer, method to call is within
Protected fieldmethodPos
The length to read from the method
Protected fieldmethodToCall
Information about the method to be called ControllerDelegate
Protected fieldOutQueue
Queue for outgoing data
Protected fieldPubQueue
Queue for messages published over a pub/sub pattern
Protected fieldread
Read buffer
Protected fieldReadState
The ReadState for the ReadLoop
Protected fieldrun
The readloop will continue as long as this flag is true. When false the connection will be disposed
Protected fieldsize
Size buffer
Protected fieldsizepos
Size position (for knowing size to read from size buffer)
Protected fieldtopic
Topic parsed from the stream
Protected fieldtopicpos
Length of the topic
Protected fieldunsubcount
Max messages to publish before doing automatic unsubscribe
Protected fieldunsubcountpos
Length of unsub-count
Protected fieldvalidTopic
Flag for knowing if the topic parsed is valid
Protected fieldwrite
Write buffer
Top
See Also