Class VCCEndpointStatistics

java.lang.Object
   |
   +----Statistics
           |
           +----VCCEndpointStatistics

public class VCCEndpointStatistics
extends Statistics
Class definition for counters at one end of a VCC.

Version:
$Revision: 1.3 $, $Date: 2000/10/12 14:08:03 $
Author:
John Cavanaugh

Variable Index

 o uptime
The uptime of the VCC at the endpoint, in hundredths of a second.
 o xmitCells
The number of cells transmitted by the endpoint.

Constructor Index

 o VCCEndpointStatistics(long, long, long)
Constructs a VCC statistics object.

Method Index

 o getUptime()
Gets the length of time the VCC has been up.
 o getXmitCells()
Gets the number of cells transmitted on the VCC.

Variables

 o uptime
 private long uptime
The uptime of the VCC at the endpoint, in hundredths of a second.

 o xmitCells
 private long xmitCells
The number of cells transmitted by the endpoint.

Constructors

 o VCCEndpointStatistics
 public VCCEndpointStatistics(long time,
                              long uptime,
                              long xmitCells)
Constructs a VCC statistics object.

Parameters:
time - the time the update took place.
uptime - the time the VCC has been up.
xmitCells - the number of cells transmitted on the VCC.

Methods

 o getUptime
 public long getUptime()
Gets the length of time the VCC has been up.

Returns:
the time the VCC has been up.
 o getXmitCells
 public long getXmitCells()
Gets the number of cells transmitted on the VCC.

Returns:
the number of cells transmitted on the VCC.