Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Server.AgentCallback

class Server.AgentCallback

Callback receiving agent-related notifications for a Server.

For more information, see vnc_Server_AgentCallback in the C API documentation.

Nested classes

Constructor summary

Modifier and Type Method and Description

Server.AgentCallback(Server.AgentCallback.AgentStartedType agentStarted = null, Server.AgentCallback.AgentStoppedType agentStopped = null)

Initializes a new AgentCallback class instance.

Method summary

Modifier and Type Method and Description
void

Server.AgentCallback.OnAgentStarted(Server server)

Handles the AgentStarted event. By default, calls the Server.AgentCallback.AgentStarted delegate.

void

Server.AgentCallback.OnAgentStopped(Server server)

Handles the AgentStopped event. By default, calls the Server.AgentCallback.AgentStopped delegate.

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.AgentStarted delegate.

void Server.AgentCallback.OnAgentStopped (Server server)

Handles the AgentStopped event. By default, calls the Server.AgentCallback.AgentStopped delegate.

Fields

Server.AgentCallback.AgentStarted

Notification that the agent has started.

For more information, see vnc_Server_AgentCallback::agentStarted in the C API documentation.

Server.AgentCallback.AgentStopped

Notification that the agent has stopped.

For more information, see vnc_Server_AgentCallback::agentStopped in the C API documentation.

×