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
-
alloc
- VCC segment allocated BW value.
-
cdv
- VCC segment Cell Delay Variance value.
-
police
- VCC segment Policing Action value.
-
Port
-
-
rejected
- VCC segment rejected cells value.
-
upc
- VCC segment UPC contract number value.
-
used
- VCC segment used BW value.
-
VCI
- VCC segment VCI value.
-
VPI
- VCC segment VPI value.
-
VCCAttributes(NodeAddress, String, int, int, int, int, int, int, int, int)
- Class constructor.
-
getAllocBW()
-
-
getCDV()
-
-
getPolicingAction()
-
-
getPort()
- Gets the port name.
-
getRejectedCells()
-
-
getUPCNum()
-
-
getUsedBW()
-
-
getVCI()
- Gets the VCI.
-
getVPI()
- Gets the VPI.
-
process(CollectorNetwork)
- Applies this update object to the network model.
-
toString()
- Returns a string describing this object.
Port
private String Port
VPI
private int VPI
- VCC segment VPI value.
VCI
private int VCI
- VCC segment VCI value.
alloc
private int alloc
- VCC segment allocated BW value.
used
private int used
- VCC segment used BW value.
rejected
private int rejected
- VCC segment rejected cells value.
cdv
private int cdv
- VCC segment Cell Delay Variance value.
police
private int police
- VCC segment Policing Action value.
upc
private int upc
- VCC segment UPC contract number value.
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
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
getPort
public String getPort()
- Gets the port name.
- Returns:
- the port name
getVPI
public int getVPI()
- Gets the VPI.
- Returns:
- the VPI value
getVCI
public int getVCI()
- Gets the VCI.
- Returns:
- the VCI value
getAllocBW
public int getAllocBW()
getUsedBW
public int getUsedBW()
getRejectedCells
public int getRejectedCells()
getCDV
public int getCDV()
getPolicingAction
public int getPolicingAction()
getUPCNum
public int getUPCNum()
toString
public String toString()
- Returns a string describing this object.
- Returns:
- string describing this object
- Overrides:
- toString in class Object