OpenDOF Project
Data Structures | Enumerations | Functions
ReconnectingStateListener

Data Structures

struct  ReconnectingStateListenerCallbacks
 The ReconnectingStateListener interface structure used to monitor connections. More...
 

Enumerations

enum  ReconnectingStateListenerStatus {
  RECONNECTINGSTATELISTENER_STATUS_SUCCESS,
  RECONNECTINGSTATELISTENER_STATUS_DUPLICATE,
  RECONNECTINGSTATELISTENER_STATUS_NOT_FOUND,
  RECONNECTINGSTATELISTENER_STATUS_FAILED
}
 

Functions

DOF_CRL_DECLSPEC
ReconnectingStateListener 
ReconnectingStateListener_Create (ReconnectingStateListenerCallbacks callbacks)
 Creates a ReconnectingStateListener that can have connections added to it to keep them connected if possible.
 
DOF_CRL_DECLSPEC void ReconnectingStateListener_SetMinimumDelay (ReconnectingStateListener self, uint32 delay)
 Sets the minimum delay in milliseconds to use between the time when a connection is initially disconnected and the initial attempt to reconnect.
 
DOF_CRL_DECLSPEC uint32 ReconnectingStateListener_GetMinimumDelay (ReconnectingStateListener self)
 Gets the current minimum delay from the ReconnectingStateListener.
 
DOF_CRL_DECLSPEC void ReconnectingStateListener_SetMaximumDelay (ReconnectingStateListener self, uint32 delay)
 Sets the maximum delay to allow between reconnection attempts.
 
DOF_CRL_DECLSPEC uint32 ReconnectingStateListener_GetMaximumDelay (ReconnectingStateListener self)
 Gets the current maximum delay from the ReconnectingStateListener.
 
DOF_CRL_DECLSPEC
ReconnectingStateListenerStatus 
ReconnectingStateListener_AddConnection (ReconnectingStateListener self, DOFConnection connection)
 Adds the DOFConnection to the ReconnectingStateListener.
 
DOF_CRL_DECLSPEC
ReconnectingStateListenerStatus 
ReconnectingStateListener_RemoveConnection (ReconnectingStateListener self, DOFConnection connection)
 Removes the DOFConnection from the ReconnectingStateListener.
 
DOF_CRL_DECLSPEC void ReconnectingStateListener_Destroy (ReconnectingStateListener self)
 Destroys the ReconnectingStateListener.
 

Detailed Description

core-c-dof-connection-reconnecting-listener Version 3.1.0 Build 0
2017-05-12