com.onlineobject.objectnet Namespace

EmbeddedClient..::..Send Method

Sends a message to the server.

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

Syntax


public void Send(

	EmbeddedMessage message,

	bool shouldRelease

)

Parameters

message
Type: com.onlineobject.objectnet.server..::..EmbeddedMessage
The message to send.
shouldRelease
Type: Boolean
Whether or not to return the message to the pool after it is sent.

Remarks


If you intend to continue using the message instance after calling this method, you must set shouldRelease to falseFalsefalsefalse (False in Visual Basic). Release()()()() can be used to manually return the message to the pool at a later time.