This class contains the details about an individual connection. More...
Public Member Functions | |
virtual System.Collections.IEnumerator | getBoundNodes () |
Returns an collection of nNodes that this connection is bound to. More... | |
virtual long | getEventsReceived () |
Returns the number of events that this connection has received from the remote client More... | |
virtual long | getEventsTransmitted () |
Returns the number of events sent to the remote client More... | |
virtual string | getId () |
Returns the unique connection ID used to identify this connection More... | |
virtual string | getLastReceivedEvent () |
Returns a protocol description of the last event received from the connection More... | |
virtual string | getLastTransmittedEvent () |
Returns a protocol description of the last event transmitted from the connection More... | |
virtual int | getLatency () |
This field is updated by the client heartbeat and as such only changes when the server receives a heart beat from the client More... | |
virtual string | getProtocol () |
This method returns the protocol string, currently one of NSP, NHP, NSPS or NHPS. More... | |
virtual int | getQueueSize () |
This queue size is the internal server buffer where all events are pushed awaiting delivery A large number here or a number that is not moving maybe indicative of a slow or problematic connection. More... | |
virtual string | getRealmName () |
Returns the name of the realm More... | |
virtual long | getReceivedByteCount () |
Returns the number of bytes that this connection has received from the remote client More... | |
virtual string | getSelector (nLeafNode leafNode) |
Returns the Selector that the connection used to bind to a channel/queue More... | |
virtual string[] | getSubject () |
Returns an array of strings that the connection used to authenticate with the server. More... | |
virtual long | getTimeOfLastReceive () |
Returns the timestamp since the last received event More... | |
virtual long | getTimeOfLastTransmitt () |
Returns the number of milliseconds since the last event was sent More... | |
virtual long | getTransimittedByteCount () |
Returns the number of bytes that this connection has transmitted to the remote client More... | |
virtual long | getUpTime () |
Returns the number of milliseconds that the connection has been active for More... | |
virtual bool | wasClosedByClient () |
This method will show that after this connection has received a delete callback, whether the close was initiated by the client. More... | |
This class contains the details about an individual connection.
It extends the Observable class to allow a user program to be informed about changes to the statistics of the connection.
|
virtual |
Returns an collection of nNodes that this connection is bound to.
|
virtual |
Returns the number of events that this connection has received from the remote client
|
virtual |
Returns the number of events sent to the remote client
|
virtual |
Returns the unique connection ID used to identify this connection
|
virtual |
Returns a protocol description of the last event received from the connection
|
virtual |
Returns a protocol description of the last event transmitted from the connection
|
virtual |
This field is updated by the client heartbeat and as such only changes when the server receives a heart beat from the client
|
virtual |
This method returns the protocol string, currently one of NSP, NHP, NSPS or NHPS.
|
virtual |
This queue size is the internal server buffer where all events are pushed awaiting delivery A large number here or a number that is not moving maybe indicative of a slow or problematic connection.
|
virtual |
Returns the name of the realm
|
virtual |
Returns the number of bytes that this connection has received from the remote client
|
virtual |
Returns the Selector that the connection used to bind to a channel/queue
leafNode | The node being queried |
nAdminIllegalArgumentException | is thrown if leafNode is null |
|
virtual |
Returns an array of strings that the connection used to authenticate with the server.
The first entry is the primary principal and is the only one used in the ACL validation. The array will only contain more than one entry in a Client certificate validated SSL session which will use CN as the primary principal followed by the user supplied principal.
|
virtual |
Returns the timestamp since the last received event
|
virtual |
Returns the number of milliseconds since the last event was sent
|
virtual |
Returns the number of bytes that this connection has transmitted to the remote client
|
virtual |
Returns the number of milliseconds that the connection has been active for
|
virtual |
This method will show that after this connection has received a delete callback, whether the close was initiated by the client.
The client close is generated from the nSessionFactory.close(nSession) method. Other closes or disconnections will return false, since the client did not send a session close event.