com.onlineobject.objectnet Namespace

NetworkTransport..::..Send Method

Send a method for global listener. This event will be caught by the network manager and handled globally.

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

Syntax


public void Send(

	int eventCode,

	DataStream writer,

	DeliveryMode mode

)

Parameters

eventCode
Type: Int32
The code of the event to be sent.
writer
Type: com.onlineobject.objectnet..::..DataStream
The data stream containing the event information.
mode
Type: com.onlineobject.objectnet..::..DeliveryMode
The delivery mode for sending the event (default is DeliveryMode.Unreliable).