Monitor

Monitor

Represents the current state of the system. Instances of this class should be obtained using system.getMonitor().

Methods

getConnections() → {Array.<Connection>}

Description:
  • Returns an array of Connection objects, each describing a single connection that currently connected to the system.

Source:
Returns:

Array of Connection objects.

Type
Array.<Connection>

killSession(siteID, sessionID) → {Array.<Connection>}

Description:
  • Returns an array of Connection objects, each describing a single connection that currently connected to the system.

Source:
Parameters:
Name Type Description
siteID String

ID of site (from Connection object).

sessionID String

ID of session (from Connection object).

Returns:

Array of Connection objects.

Type
Array.<Connection>