Learn how to evaluate and integrate the VNC SDK
Server.AgentCallback¶
-
class Server.AgentCallback¶ Callback receiving agent-related notifications for a Server.
For more information, see
vnc_Server_AgentCallbackin the C API documentation.
Nested classes¶
Constructor summary
| Modifier and Type | Method and Description |
|---|---|
Initializes a new AgentCallback class instance. |
Method summary
| Modifier and Type | Method and Description |
|---|---|
void |
Handles the AgentStarted event.
By default, calls the |
void |
Handles the AgentStopped event.
By default, calls the |
Constructors¶
-
Server.AgentCallback(Server.AgentCallback.AgentStartedType agentStarted = null, Server.AgentCallback.AgentStoppedType agentStopped = null)¶ Initializes a new AgentCallback class instance.
For more information, see
vnc_Server_AgentCallback()in the C API documentation.
Methods¶
-
void
Server.AgentCallback.OnAgentStarted(Server server)¶ Handles the AgentStarted event. By default, calls the
Server.AgentCallback.AgentStarteddelegate.
-
void
Server.AgentCallback.OnAgentStopped(Server server)¶ Handles the AgentStopped event. By default, calls the
Server.AgentCallback.AgentStoppeddelegate.
Fields¶
-
Server.AgentCallback.AgentStarted¶ Notification that the agent has started.
For more information, see
vnc_Server_AgentCallback::agentStartedin the C API documentation.
-
Server.AgentCallback.AgentStopped¶ Notification that the agent has stopped.
For more information, see
vnc_Server_AgentCallback::agentStoppedin the C API documentation.