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 ConnectionStarted delegate. |
void |
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::connectionStartedin the C API documentation.
-
Server.ConnectionCallback.ConnectionEnded¶ Notification that a connection has ended.
For more information, see
vnc_Server_ConnectionCallback::connectionEndedin the C API documentation.