Learn how to evaluate and integrate the VNC SDK
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 |
---|---|
Initializes a new ConnectionCallback class instance. |
Method summary
Modifier and Type | Method and Description |
---|---|
void |
Handles the ConnectionStarted event.
By default, calls the |
void |
Handles the ConnectionEnded event.
By default, calls the |
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.