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 connectionStarted = null, Server.ConnectionCallback.ConnectionEndedType connectionEnded = null)

Initializes a new ConnectionCallback class instance.

Method summary

Modifier and Type Method and Description
void

Server.ConnectionCallback.OnConnectionStarted(Server server, Connection connection)

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

void

Server.ConnectionCallback.OnConnectionEnded(Server server, Connection connection)

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

Constructors

Server.ConnectionCallback (Server.ConnectionCallback.ConnectionStartedType connectionStarted = null, Server.ConnectionCallback.ConnectionEndedType connectionEnded = null)

Initializes a new ConnectionCallback class instance.

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

Methods

void Server.ConnectionCallback.OnConnectionStarted (Server server, Connection connection)

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

void Server.ConnectionCallback.OnConnectionEnded (Server server, Connection connection)

Handles the ConnectionEnded event. By default, calls the Server.ConnectionCallback.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.

×