OpenDOF Project
DOF_CRL_DECLSPEC ReconnectingStateListenerStatus ReconnectingStateListener_RemoveConnection ( ReconnectingStateListener  self,
DOFConnection  connection 
)

Removes the DOFConnection from the ReconnectingStateListener.

If the connection was only connected as a result of being added to the ReconnectingStateListener, removing the connection will cause it to disconnect.

Note
Calling this function will cause the ReconnectingStateListener ConnectionRemoved callback to be called when the connection is actually removed.
Parameters
selfThe ReconnectingStateListener.
connectionThe DOFConnection to remove from the listener.
Returns
RECONNECTINGSTATELISTENER_STATUS_SUCCESS is returned if the connection was successfully removed from the ReconnectingStateListener.
Exceptions
RECONNECTINGSTATELISTENER_STATUS_NOT_FOUNDis returned if the connection was already removed or was never added to the ReconnectingStateListener.
core-c-dof-connection-reconnecting-listener Version 3.1.0 Build 0
2017-05-12