com.onlineobject.objectnet Namespace

Channel..::..OnMessageReceived Method

Registers a callback to be invoked when a message is received.

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

Syntax


public void OnMessageReceived(

	Action<IDataStream> onReceive

)

Parameters

onReceive
Type: Action<(Of <(<'IDataStream>)>)>
The callback to invoke with the received data stream.