vnc_server 8 Link Library API
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

vnc_server_v2

Description
The vnc_server_v2 interface is used to control the graphics console VNC server.

The graphics console has a built-in VNC server, supporting any number of connected clients.

The listening method indicates whether the server is listening for connections.

The num_clients method returns the number of connected clients.

The disconnect method forcibly disconnects any connected client.

SIM_INTERFACE(vnc_server_v2) {
        bool (*listening)(conf_object_t *NOTNULL obj);
        int (*num_clients)(conf_object_t *NOTNULL obj);
        void (*disconnect)(conf_object_t *NOTNULL obj);
};
#define VNC_SERVER_V2_INTERFACE "vnc_server_v2"

Execution Context
Global Context for all methods

vnc_server 8 Link Library API