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

Variable Index

 o bwAllocIn
The port's allocated input bandwidth.
 o bwAllocOut
The port's allocated output bandwidth.
 o bwIn
The port's input bandwidth.
 o bwOut
The port's output bandwidth.
 o cellsIn
The number of cells the port has received.
 o cellsOut
The number of cells the port has transmitted.
 o nodeName
The name of the switch on which the port exists.
 o portName
The port name.
 o uptime
The time the port has been up, in seconds.

Constructor Index

 o PortUpdate(int, String, String, long, long, long, long, long, long, long, long)
Constructs a port update.

Method Index

 o getBwAllocIn()
Gets the port's allocated input bandwidth.
 o getBwAllocOut()
Gets the port's allocated output bandwidth.
 o getBwIn()
Gets the port's input bandwidth.
 o getBwOut()
Gets the port's output bandwidth.
 o getCellsIn()
Gets the number of cells the port has received.
 o getCellsOut()
Gets the number of cells the port has transmitted.
 o getNodeName()
Gets the name of the switch the port is attached to.
 o getPortName()
Gets the port name.
 o getUptime()
Gets the port's uptime.
 o toString()
Gets a string describing the port update.

Variables

 o nodeName
 private String nodeName
The name of the switch on which the port exists.

 o portName
 private String portName
The port name.

 o uptime
 private long uptime
The time the port has been up, in seconds.

 o bwIn
 private long bwIn
The port's input bandwidth.

 o bwAllocIn
 private long bwAllocIn
The port's allocated input bandwidth.

 o cellsIn
 private long cellsIn
The number of cells the port has received.

 o bwOut
 private long bwOut
The port's output bandwidth.

 o bwAllocOut
 private long bwAllocOut
The port's allocated output bandwidth.

 o cellsOut
 private long cellsOut
The number of cells the port has transmitted.

Constructors

 o 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.

Methods

 o getNodeName
 public String getNodeName()
Gets the name of the switch the port is attached to.

Returns:
The node name.
 o getPortName
 public String getPortName()
Gets the port name.

Returns:
The interface name.
 o getUptime
 public long getUptime()
Gets the port's uptime.

Returns:
The length of time the port has been up, in seconds.
 o getBwIn
 public long getBwIn()
Gets the port's input bandwidth.

Returns:
The port's input bandwidth.
 o getBwAllocIn
 public long getBwAllocIn()
Gets the port's allocated input bandwidth.

Returns:
The port's allocated input bandwidth.
 o getCellsIn
 public long getCellsIn()
Gets the number of cells the port has received.

Returns:
The number of cells the port has received.
 o getBwOut
 public long getBwOut()
Gets the port's output bandwidth.

Returns:
The port's output bandwidth.
 o getBwAllocOut
 public long getBwAllocOut()
Gets the port's allocated output bandwidth.

Returns:
The port's allocated output bandwidth.
 o getCellsOut
 public long getCellsOut()
Gets the number of cells the port has transmitted.

Returns:
The number of cells the port has transmitted.
 o 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