com.onlineobject.objectnet Namespace

IClient..::..Send Method (Int32, DataStream, DeliveryMode)

Sends an event with a code and data to the server using the specified delivery mode.

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

Syntax


void Send(

	int eventCode,

	DataStream writer,

	DeliveryMode mode

)

Parameters

eventCode
Type: Int32
The event code to identify the type of event.
writer
Type: com.onlineobject.objectnet..::..DataStream
The DataStream containing the data to send.
mode
Type: com.onlineobject.objectnet..::..DeliveryMode
The delivery mode (default is Unreliable).