telnet_connection vnc_server
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

telnet_connection_v2

Description
The telnet_connection_v2 interface is used to control the text console telnet server.

The text console has a built-in telnet server.

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

The connected method indicates whether there is a connected telnet client.

The disconnect method forcibly disconnects any connected client.

SIM_INTERFACE(telnet_connection_v2) {
        bool (*listening)(conf_object_t *NOTNULL obj);
        bool (*connected)(conf_object_t *NOTNULL obj);
        void (*disconnect)(conf_object_t *NOTNULL obj);
};
#define TELNET_CONNECTION_V2_INTERFACE "telnet_connection_v2"

Execution Context
Global Context for all methods

telnet_connection vnc_server