All Packages Class Hierarchy This Package Previous Next Index
Class VisiModel.PortUpdate
java.lang.Object
|
+----VisiModel.ModelUpdate
|
+----VisiModel.PortUpdate
- public class PortUpdate
- extends ModelUpdate
Class definition for an update to an interface on an end system in
an IP/ATM network.
- Version:
- $Revision: 1.4 $, $Date: 2000/10/12 14:09:16 $
- Author:
- John Cavanaugh, Joseph Thomas
-
bwAllocIn
- The port's allocated input bandwidth.
-
bwAllocOut
- The port's allocated output bandwidth.
-
bwIn
- The port's input bandwidth.
-
bwOut
- The port's output bandwidth.
-
cellsIn
- The number of cells the port has received.
-
cellsOut
- The number of cells the port has transmitted.
-
nodeName
- The name of the switch on which the port exists.
-
portName
- The port name.
-
uptime
- The time the port has been up, in seconds.
-
PortUpdate(int, String, String, long, long, long, long, long, long, long, long)
- Constructs a port update.
-
getBwAllocIn()
- Gets the port's allocated input bandwidth.
-
getBwAllocOut()
- Gets the port's allocated output bandwidth.
-
getBwIn()
- Gets the port's input bandwidth.
-
getBwOut()
- Gets the port's output bandwidth.
-
getCellsIn()
- Gets the number of cells the port has received.
-
getCellsOut()
- Gets the number of cells the port has transmitted.
-
getNodeName()
- Gets the name of the switch the port is attached to.
-
getPortName()
- Gets the port name.
-
getUptime()
- Gets the port's uptime.
-
toString()
- Gets a string describing the port update.
nodeName
private String nodeName
- The name of the switch on which the port exists.
portName
private String portName
- The port name.
uptime
private long uptime
- The time the port has been up, in seconds.
bwIn
private long bwIn
- The port's input bandwidth.
bwAllocIn
private long bwAllocIn
- The port's allocated input bandwidth.
cellsIn
private long cellsIn
- The number of cells the port has received.
bwOut
private long bwOut
- The port's output bandwidth.
bwAllocOut
private long bwAllocOut
- The port's allocated output bandwidth.
cellsOut
private long cellsOut
- The number of cells the port has transmitted.
PortUpdate
public PortUpdate(int type,
String nodeName,
String portName,
long uptime,
long bwIn,
long bwAllocIn,
long cellsIn,
long bwOut,
long bwAllocOut,
long cellsOut,
long time)
- Constructs a port update.
- Parameters:
- type - The update type.
- nodeName - The name of the node to be updated.
- portName - The name of the port to be updated.
- uptime - The time the port has been up,
in seconds.
- bwIn - The port's input bandwidth.
- bwAllocIn - The port's allocated input bandwidth.
- cellsIn - The number of cells the port has
received.
- bwOut - The port's output bandwidth.
- bwAllocOut - The port's allocated output bandwidth.
- cells - Out The number of cells the port has
transmitted.
- time - The time when the object data was created.
getNodeName
public String getNodeName()
- Gets the name of the switch the port is attached to.
- Returns:
- The node name.
getPortName
public String getPortName()
- Gets the port name.
- Returns:
- The interface name.
getUptime
public long getUptime()
- Gets the port's uptime.
- Returns:
- The length of time the port has been up, in seconds.
getBwIn
public long getBwIn()
- Gets the port's input bandwidth.
- Returns:
- The port's input bandwidth.
getBwAllocIn
public long getBwAllocIn()
- Gets the port's allocated input bandwidth.
- Returns:
- The port's allocated input bandwidth.
getCellsIn
public long getCellsIn()
- Gets the number of cells the port has received.
- Returns:
- The number of cells the port has received.
getBwOut
public long getBwOut()
- Gets the port's output bandwidth.
- Returns:
- The port's output bandwidth.
getBwAllocOut
public long getBwAllocOut()
- Gets the port's allocated output bandwidth.
- Returns:
- The port's allocated output bandwidth.
getCellsOut
public long getCellsOut()
- Gets the number of cells the port has transmitted.
- Returns:
- The number of cells the port has transmitted.
toString
public String toString()
- Gets a string describing the port update.
- Returns:
- A string describing the port update object.
- Overrides:
- toString in class ModelUpdate
All Packages Class Hierarchy This Package Previous Next Index