EmbeddedServer..::..Send Method (EmbeddedMessage, EmbeddedConnection, Boolean)
Sends a message to a given client.
Namespace:
com.onlineobject.objectnet.serverAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public void Send( EmbeddedMessage message, EmbeddedConnection toClient, bool shouldRelease )
Parameters
- message
- Type: com.onlineobject.objectnet.server..::..EmbeddedMessage
The message to send.
- toClient
- Type: com.onlineobject.objectnet.server..::..EmbeddedConnection
The client to send the message to.
- shouldRelease
- Type: Boolean
Whether or not to return the message to the pool after it is sent.