EmbeddedServer..::..DisconnectClient Method (EmbeddedConnection, EmbeddedMessage)
Disconnects the given client.
Namespace:
com.onlineobject.objectnet.serverAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public void DisconnectClient( EmbeddedConnection client, EmbeddedMessage message )
Parameters
- client
- Type: com.onlineobject.objectnet.server..::..EmbeddedConnection
The client to disconnect.
- message
- Type: com.onlineobject.objectnet.server..::..EmbeddedMessage
Data that should be sent to the client being disconnected. Use Create()()()() to get an empty message instance.