com.onlineobject.objectnet Namespace

EmbeddedServer..::..Reject Method (EmbeddedConnection, EmbeddedMessage)

Rejects the given pending connection.

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

Syntax


public void Reject(

	EmbeddedConnection connection,

	EmbeddedMessage message

)

Parameters

connection
Type: com.onlineobject.objectnet.server..::..EmbeddedConnection
The connection to reject.
message
Type: com.onlineobject.objectnet.server..::..EmbeddedMessage
Data that should be sent to the client being rejected. Use Create()()()() to get an empty message instance.