com.onlineobject.objectnet Namespace

EmbeddedServer..::..HandleConnection Field

An optional method which determines whether or not to accept a client's connection attempt.

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

Syntax


Remarks


The EmbeddedConnection parameter is the pending connection and the EmbeddedMessage parameter is a message containing any additional data the client included with the connection attempt. If you choose to subscribe a method to this delegate, you should use it to call either Accept(EmbeddedConnection) or Reject(EmbeddedConnection, EmbeddedMessage). Not doing so will result in the connection hanging until the client times out.