Class VCCAttributes

java.lang.Object
   |
   +----CollectorUpdate
           |
           +----VCCAttributes

public class VCCAttributes
extends CollectorUpdate
Collector class for reporting switch VCC segment maps.

Version:
$Revision: 1.1 $, $Date: 2000/10/31 20:30:32 $
Author:
Joseph Thomas

Variable Index

 o alloc
VCC segment allocated BW value.
 o cdv
VCC segment Cell Delay Variance value.
 o police
VCC segment Policing Action value.
 o Port
 o rejected
VCC segment rejected cells value.
 o upc
VCC segment UPC contract number value.
 o used
VCC segment used BW value.
 o VCI
VCC segment VCI value.
 o VPI
VCC segment VPI value.

Constructor Index

 o VCCAttributes(NodeAddress, String, int, int, int, int, int, int, int, int)
Class constructor.

Method Index

 o getAllocBW()
 o getCDV()
 o getPolicingAction()
 o getPort()
Gets the port name.
 o getRejectedCells()
 o getUPCNum()
 o getUsedBW()
 o getVCI()
Gets the VCI.
 o getVPI()
Gets the VPI.
 o process(CollectorNetwork)
Applies this update object to the network model.
 o toString()
Returns a string describing this object.

Variables

 o Port
 private String Port
 o VPI
 private int VPI
VCC segment VPI value.

 o VCI
 private int VCI
VCC segment VCI value.

 o alloc
 private int alloc
VCC segment allocated BW value.

 o used
 private int used
VCC segment used BW value.

 o rejected
 private int rejected
VCC segment rejected cells value.

 o cdv
 private int cdv
VCC segment Cell Delay Variance value.

 o police
 private int police
VCC segment Policing Action value.

 o upc
 private int upc
VCC segment UPC contract number value.

Constructors

 o VCCAttributes
 public VCCAttributes(NodeAddress addr,
                      String inPort,
                      int VPI,
                      int VCI,
                      int alloc,
                      int used,
                      int rejected,
                      int cdv,
                      int police,
                      int upc)
Class constructor.

Parameters:
addr - the address of the node from which the data for this update was obtained
Port - the name of the segment port

Methods

 o process
 public void process(CollectorNetwork net)
Applies this update object to the network model.

Parameters:
net - the network which this object updates
Overrides:
process in class CollectorUpdate
 o getPort
 public String getPort()
Gets the port name.

Returns:
the port name
 o getVPI
 public int getVPI()
Gets the VPI.

Returns:
the VPI value
 o getVCI
 public int getVCI()
Gets the VCI.

Returns:
the VCI value
 o getAllocBW
 public int getAllocBW()
 o getUsedBW
 public int getUsedBW()
 o getRejectedCells
 public int getRejectedCells()
 o getCDV
 public int getCDV()
 o getPolicingAction
 public int getPolicingAction()
 o getUPCNum
 public int getUPCNum()
 o toString
 public String toString()
Returns a string describing this object.

Returns:
string describing this object
Overrides:
toString in class Object