System.Connections

URI: http://soap.zeus.com/zxtm/1.0/System/Connections/

The System.Connections interface provides information about the current and recent connections for this machine. Using this interface you can retrieve a list of all connections.

Methods

getAllConnections()

Get a list of all connections, current and recent, for this machine.

System.Connections.Connection[] getAllConnections()

Structures

System.Connections.Connection

This structure contains the basic information about a Connection. It is used when retrieving the current and recent connections for a machine.

struct System.Connections.Connection {

# The source IP address and port for connection.

String from;

# The local IP address and port for connection.

String via;

# The destination node for the connection.

String to;

# The connection state.

System.Connections.ConnectionState state;

# The virtual server handling the request.

String vserver;

# The rule being executed.

String rule;

# The pool being used.

String pool;

# The number of bytes that were received from the client.

Integer bytes_in;

# The number of bytes that were sent to the client.

Integer bytes_out;

# The length of time that the connection has been established, in seconds.

Integer time_est;

# The length of time since receiving the last client data, in seconds.

Integer time_client;

# The length of time since receiving the last server data, in seconds.

Integer time_server;

# The number of times that the connection to the node has been retried.

Integer retries;

# The Service Level Monitoring class being used.

String slm_class;

# The Virtual Server Bandwidth class being used.

String vs_bwclass;

# The Pool Bandwidth class being used.

String pool_bwclass;

# The status code in the HTTP response.

String code;

# The host header/URL in the HTTP request.

String request;

}

Enumerations

System.Connections.ConnectionState

This enumeration defines the possible states for a particular connection.

enum System.Connections.ConnectionState {

# Current connection: reading data from the client ('R').

reading_from_client,

# Current connection: writing data to the client ('W').

writing_to_client,

# Current connection: executing rules against client request ('X').

executing_rule,

# Current connection: connecting to a node ('c').

connecting_to_node,

# Current connection: writing data to a node ('w').

writing_to_node,

# Current connection: reading data from a node ('r').

reading_from_node,

# Current connection: closing connection with client ('C').

closing_client_connection,

# Current connection: holding connection with client in keepalive state

# ('K').

holding_client_connection,

# Recent connection that is no longer active.

recent_connection

}