Represents the instantaneous state of a DOFConnection. More...
Functions | |
boolean | DOFConnectionState_IsConnected (const DOFConnectionState self) |
Return whether the status of the Connection is connected or not. | |
DOFSecurityMode | DOFConnectionState_GetSecurityMode (const DOFConnectionState self) |
Return the active DOFSecurityMode of the Connection. | |
DOFConnectionDirection | DOFConnectionState_GetDirection (const DOFConnectionState self) |
Return the direction of the Connection. | |
DOFException | DOFConnectionState_GetException (const DOFConnectionState self) |
Return the DOFException associated with the connection state, if any. | |
DOFCredentials | DOFConnectionState_GetPeerCredentials (const DOFConnectionState self) |
Return the DOFCredentials used by the peer node for authentication of the connection. | |
DOFCredentials | DOFConnectionState_GetCredentials (const DOFConnectionState self) |
Return the DOFCredentials used by this node for authentication of the connection. | |
DOFConnection | DOFConnectionState_CreateConnection (const DOFConnectionState self) |
Create a connection based on a connection state. | |
uint64 | DOFConnectionState_GetReceiveByteCount (const DOFConnectionState self) |
Returns the number of bytes received on the associated connection at the point the connection state was created. | |
uint64 | DOFConnectionState_GetSendByteCount (const DOFConnectionState self) |
Returns the number of bytes sent from the associated connection at the point the connection state was created. | |
uint64 | DOFConnectionState_GetReceivePacketCount (const DOFConnectionState self) |
Returns the number of packets received on the associated connection at the point the connection state was created. | |
uint64 | DOFConnectionState_GetSendPacketCount (const DOFConnectionState self) |
Returns the number of packets sent from the associated connection at the point the connection state was created. | |
DOFConnectionType | DOFConnectionState_GetConnectionType (const DOFConnectionState self) |
Get the Connection Type of the Connection. | |
DOFAddress | DOFConnectionState_GetAddress (const DOFConnectionState self) |
Get the target Address of the Connection. | |
DOFSecurityDesire | DOFConnectionState_GetSecurityDesire (const DOFConnectionState self) |
Get the Security Desire of the Connection. | |
DOFPermissionSet | DOFConnectionState_GetPermissions (const DOFConnectionState self) |
Get the Permissions of the Connection. | |
boolean | DOFConnectionState_IsPermissionsExtendAllowed (const DOFConnectionState self) |
Checks to see if the Connection is set up to allow permission extensions. | |
DTLConnectionConfig | DOFConnectionState_GetTransportConfig (const DOFConnectionState self) |
Get the transport-specific configuration of the Connection. | |
DOFProtocolNegotiator | DOFConnectionState_GetProtocolNegotiator (const DOFConnectionState self) |
Get the Protocol Negotiator of the Connection. | |
int | DOFConnectionState_GetMaxSendSilence (const DOFConnectionState self) |
Get the maximum send silence time of the Connection. | |
int | DOFConnectionState_GetMaxReceiveSilence (const DOFConnectionState self) |
Get the Maximum receive silence time of the Connection. | |
void | DOFConnectionState_Destroy (DOFConnectionState self) |
Destroy the Connection State. | |
Represents the instantaneous state of a DOFConnection.