com.onlineobject.objectnet Namespace

EmbeddedServer..::..SendToAll Method (EmbeddedMessage, Boolean)

Sends a message to all connected clients.

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

Syntax


public void SendToAll(

	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). [EmbeddedMessage.Release] can be used to manually return the message to the pool at a later time.