Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Server.ConnectionCallback

class Server.ConnectionCallback

Callback receiving connection-related notifications for a Server.

For more information, see vnc_Server_ConnectionCallback() in the C API documentation.

Nested classes

Constructor summary

Modifier and Type Method and Description

Server.ConnectionCallback(Server.ConnectionCallback.ConnectionStartedType, Server.ConnectionCallback.ConnectionEndedType)

Initializes a new ConnectionCallback class instance.

Method summary

Modifier and Type Method and Description
void

Server.ConnectionCallback.OnConnectionStarted(Server, Connection)

Handles the ConnectionStarted event. By default, calls the ConnectionStarted delegate.

void

Server.ConnectionCallback.OnConnectionEnded(Server, Connection)

Handles the ConnectionEnded event. By default, calls the ConnectionEnded delegate.

Constructors

Server.ConnectionCallback (Server.ConnectionCallback.ConnectionStartedType a, Server.ConnectionCallback.ConnectionEndedType b)

Initializes a new ConnectionCallback class instance.

For more information, see vnc_Server_ConnectionCallback() in the C API documentation.

Methods

void Server.ConnectionCallback.OnConnectionStarted (Server a, Connection b)

Handles the ConnectionStarted event. By default, calls the ConnectionStarted delegate.

void Server.ConnectionCallback.OnConnectionEnded (Server a, Connection b)

Handles the ConnectionEnded event. By default, calls the ConnectionEnded delegate.

Fields

Server.ConnectionCallback.ConnectionStarted

Notification that a connection has successfully started.

For more information, see vnc_Server_ConnectionCallback::connectionStarted in the C API documentation.

Server.ConnectionCallback.ConnectionEnded

Notification that a connection has ended.

For more information, see vnc_Server_ConnectionCallback::connectionEnded in the C API documentation.

×