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
-
| self | The ReconnectingStateListener. |
| connection | The 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_FOUND | is returned if the connection was already removed or was never added to the ReconnectingStateListener. |