TransportEmbedded..::..Configure Method
Configures the transport with the specified actions for client connection, disconnection, and message reception.
Namespace:
com.onlineobject.objectnet.serverAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public void Configure( Action<ITransportClient> onClientConnected, Action<ITransportClient> onClientDisconnected, Action<ITransportClient, byte[]> onMessageReceived )
Parameters
- onClientConnected
- Type: Action<(Of <(<'ITransportClient>)>)>
Action to call when a client connects.
- onClientDisconnected
- Type: Action<(Of <(<'ITransportClient>)>)>
Action to call when a client disconnects.
- onMessageReceived
- Type: Action<(Of <(<'ITransportClient, array<Byte>[]()[][]>)>)>
Action to call when a message is received.