com.onlineobject.objectnet Namespace

EmbeddedConnection Members

The EmbeddedConnection type exposes the following members.

Methods


  Name Description
Public method ResetTimeout
Resets the connection's timeout time.
Public method SendNotify
Sends a notify message.

Fields


  Name Description
Public field NotifyDelivered
Invoked when the notify message with the given sequence ID is successfully delivered.
Public field NotifyLost
Invoked when the notify message with the given sequence ID is lost.
Public field NotifyReceived
Invoked when a notify message is received.

Properties


  Name Description
Public property CanTimeout
Whether or not the connection can time out.
Public property Id
The connection's numeric ID.
Public property IsConnected
Whether or not the connection is currently connected.
Public property IsConnecting
Whether or not the connection is currently in the process of connecting.
Public property IsNotConnected
Whether or not the connection is currently not trying to connect, pending, nor actively connected.
Public property IsPending
Whether or not the connection is currently pending (waiting to be accepted/rejected by the server).
Public property RTT
The round trip time (ping) of the connection, in milliseconds. -1 if not calculated yet.
Public property SmoothRTT
The smoothed round trip time (ping) of the connection, in milliseconds. -1 if not calculated yet.
Public property TimeoutTime
The time (in milliseconds) after which to disconnect if no heartbeats are received.