com.onlineobject.objectnet Namespace

Channel..::..OnDisconnected Method

Registers a callback to be invoked when the connection is lost.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void OnDisconnected(

	Action<IClient> onDisconnect

)

Parameters

onDisconnect
Type: Action<(Of <(<'IClient>)>)>
The callback to invoke when disconnected.