RelayTransportClient..::..Configure Method
Configures the transport client with the specified callbacks.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public void Configure( Action<ITransportClient> onClientConnected, Action<ITransportClient> onClientDisconnected, Action<ITransportClient, byte[]> onMessageReceived )
Parameters
- onClientConnected
- Type: Action<(Of <(<'ITransportClient>)>)>
Callback invoked when a client connects.
- onClientDisconnected
- Type: Action<(Of <(<'ITransportClient>)>)>
Callback invoked when a client disconnects.
- onMessageReceived
- Type: Action<(Of <(<'ITransportClient, array<Byte>[]()[][]>)>)>
Callback invoked when a message is received from a client.