JavaScript API Documentation Network Status Tables

Class Index

Structure

The top control frame top_control.html contains a number JavaScript methods which can be used to load dynamically one of the network status tables into the body frame data_body.html. The last file contains a HTML header but no content: its only function is to represent the body frame.

The HTML pages with the network status tables are written by JavaScript class instances. Each class has its own private methods and variables, however all these class instances are implementing the following two methods:

The implementation of both methods has the advantage that it allows the writing or plotting of the current table without any further knowledge of the current table.

The following classes are available:

Other important classes, from which there exist global instances in the JavaScript code, are:

Net Data API

Syntax and Structure

Class NetDataOverviewDocument

Description

This class writes the HTML page containing the overview tables with all data at a certain timestap. It is also possible to represent the data with one, compact table.

Constructor

Class methods

Class LoadDocument

Description

This class writes the HTML page, containing the table with the load data as function of the time. The timestamps are going back in history.

Constructor

Class methods

Class PingDocument

Description

This class writes the HTML page, containing table with the roundtrip values as a function of the time. The timestamps are referring back to history. The data are displayed from a host, specified by the user, to all other hsosts.

Constructor

Class methods

Class ThroughputDocument

Description

This class writes the HTML page, containing table with the throughput values as a function of the time. The timestamps are referring back to history. The data are displayed from a host, specified by the user, to all other hsosts.

Constructor

Class methods

Class NetDataOverviewTable

Description

This class writes the overview table which contains all available network data at a certain moment.

Constructor

Class variables

Class methods

See also

NetDataOverviewDocument.

Class LoadTable

Description

This class writes the table with the load data as a function of the time.

Constructor

Class variables

Class methods

See also

LoadDocument.

Class PingTable

Description

This class writes the table with roundtrip data as a function of the time. Only the roundtrip data for all connections with a host, specified by the user, are shown.

Constructor

Class variables

Class methods

See also

PingDocument.

Class ThroughputTable

Description

This class writes the table with throughput data as a function of the time. Only the throughput data for all connections with a host, specified by the user, are shown.

Constructor

Class variables

Class methods

See also

ThroughputDocument.

Class PingData

Description

This class implements the data type used for the various type of roundtrip data. It is possible to display the minimum, average, maximum or all three data types.

Constructor

Class variables

Class methods

Class NetDataDescriptor

Description

This class contains the descriptors, describing the various net data types. The types are described by member variables which can be accessed to obtain the data for a specific net data type. Each net data type is represented by a global variable in an array. The current index is stored in another global variable.

Constructor

Class variables

The class instances are already described in the Constructor: they have the same names and functionalities as the Constructor arguments.

Class ColorMap

Description

This class defines the color table which is used at the color scaling.

Constructor

Class variables

Class Methods

See also

ColorScale.

Class ColorScale

Description

This class is used at the color scaling of an intensity.

Constructor

Class variables

Used global variables

Class methods

See also

ColorMap.

Class RGB

Description

This class defines a RGB value.

Constructor

Class variables

Class methods

Class Extrema

Description

This class contains the extrema of a data series.

Constructor

Class variables

Class methods

Class RepeatWrite

Description

This periodically writes the current HTML page. The current page description is stored in a global variable. The writing is performed by calling the write() method of this variable. The system function setTimeout() is used for the periodic display. This method calls a function after a timeout period without blocking the browser during this period.

Constructor

Class variables

Used global variables.

Class methods