All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VisiModel.VCCUpdate

java.lang.Object
   |
   +----VisiModel.ModelUpdate
           |
           +----VisiModel.VCCUpdate

public class VCCUpdate
extends ModelUpdate
Class definition for an update to a VCC in an IP/ATM network.

Version:
$Revision: 1.11 $, $Date: 2000/10/12 14:09:17 $
Author:
John Cavanaugh, Joseph Thomas

Variable Index

 o end1
The name of the node at the first end of the connection.
 o end2
The name of the node at the second end of the connection.
 o owner
The VCC's owner.
 o rcvCells
Cells transmitted from end 2 to end 1.
 o sigType
The signalling protocol type.
 o uptime1
The age of the VCC in seconds.
 o uptime2
The age of the VCC in seconds.
 o vci1
The VCI at the first end of the connection.
 o vci2
The VCI at the second end of the connection.
 o vpi1
The VPI at the first end of the connection.
 o vpi2
The VPI at the second end of the connection.
 o xmitCells
Cells transmitted from end 1 to end 2.

Constructor Index

 o VCCUpdate(int, String, int, int, long, long, String, int, int, long, long, int, int, long)
Construct a VCC update.
 o VCCUpdate(int, String, int, int, String, int, int, int, int, long)
Construct a VCC update.

Method Index

 o getEnd1()
Gets the name of the node at the first end of the connection.
 o getEnd2()
Gets the name of the node at the second end of the connection.
 o getOwner()
Get the VCC's owner.
 o getRcvCells()
Gets the number of cells transmitted from end 2 to end 1.
 o getSigType()
Get the VCC's signalling type.
 o getUptime1()
Gets the VCC's uptime at end1.
 o getUptime2()
Gets the VCC's uptime at end2.
 o getVCI1()
Gets the VCI at the first end of the connection.
 o getVCI2()
Gets the VCI at the second end of the connection.
 o getVPI1()
Gets the VPI at the first end of the connection.
 o getVPI2()
Gets the VPI at the second end of the connection.
 o getXmitCells()
Gets the number of cells transmitted from end 1 to end 2.
 o toString()
Gets a string describing the VCC update object.

Variables

 o end1
 private String end1
The name of the node at the first end of the connection.

 o vpi1
 private int vpi1
The VPI at the first end of the connection.

 o vci1
 private int vci1
The VCI at the first end of the connection.

 o uptime1
 private long uptime1
The age of the VCC in seconds.

 o xmitCells
 private long xmitCells
Cells transmitted from end 1 to end 2.

 o end2
 private String end2
The name of the node at the second end of the connection.

 o vpi2
 private int vpi2
The VPI at the second end of the connection.

 o vci2
 private int vci2
The VCI at the second end of the connection.

 o uptime2
 private long uptime2
The age of the VCC in seconds.

 o rcvCells
 private long rcvCells
Cells transmitted from end 2 to end 1.

 o sigType
 private int sigType
The signalling protocol type.

 o owner
 private int owner
The VCC's owner.

Constructors

 o VCCUpdate
 public VCCUpdate(int type,
                  String end1,
                  int vpi1,
                  int vci1,
                  long uptime1,
                  long xmitCells,
                  String end2,
                  int vpi2,
                  int vci2,
                  long uptime2,
                  long rcvCells,
                  int sigType,
                  int owner,
                  long time)
Construct a VCC update.

Parameters:
type - The update type.
end1 - The name of the node at the first end of the connection.
vpi1 - The VPI at the first end of the connection.
vci1 - The VCI at the first end of the connection.
uptime1 - The time in seconds the VCC has been up.
xmitCells - The number of cells transmitted from end 1 to end 2.
end2 - The name of the node at the second end of the connection.
vpi2 - The VPI at the second end of the connection.
vci2 - The VCI at the second end of the connection.
uptime2 - The time in seconds the VCC has been up.
rcvCells - The number of cells transmitted from end 2 to end 1.
sigType - The signalling protocol type.
owner - The VCC's owner.
time - The time when the object data was created.
 o VCCUpdate
 public VCCUpdate(int type,
                  String end1,
                  int vpi1,
                  int vci1,
                  String end2,
                  int vpi2,
                  int vci2,
                  int sigType,
                  int owner,
                  long time)
Construct a VCC update.

Parameters:
type - The update type.
end1 - The name of the node at the first end of the connection.
vpi1 - The VPI at the first end of the connection.
vci1 - The VCI at the first end of the connection.
end2 - The name of the node at the second end of the connection.
vpi2 - The VPI at the second end of the connection.
vci2 - The VCI at the second end of the connection.
sigType - The signalling protocol type.
owner - The VCC's owner.
time - The time when the object data was created.

Methods

 o getEnd1
 public String getEnd1()
Gets the name of the node at the first end of the connection.

Returns:
The node name.
 o getVPI1
 public int getVPI1()
Gets the VPI at the first end of the connection.

Returns:
The VPI.
 o getVCI1
 public int getVCI1()
Gets the VCI at the first end of the connection.

Returns:
The VCI.
 o getEnd2
 public String getEnd2()
Gets the name of the node at the second end of the connection.

Returns:
The node name.
 o getVPI2
 public int getVPI2()
Gets the VPI at the second end of the connection.

Returns:
The VPI.
 o getVCI2
 public int getVCI2()
Gets the VCI at the second end of the connection.

Returns:
The VCI.
 o getSigType
 public int getSigType()
Get the VCC's signalling type.

Returns:
The signalling type.
 o getOwner
 public int getOwner()
Get the VCC's owner.

Returns:
The VCC's owner.
 o getUptime1
 public long getUptime1()
Gets the VCC's uptime at end1.

Returns:
The age of the VCC in seconds.
 o getUptime2
 public long getUptime2()
Gets the VCC's uptime at end2.

Returns:
The age of the VCC in seconds.
 o getXmitCells
 public long getXmitCells()
Gets the number of cells transmitted from end 1 to end 2.

Returns:
The number of cells transmitted by end 1.
 o getRcvCells
 public long getRcvCells()
Gets the number of cells transmitted from end 2 to end 1.

Returns:
The number of cells transmitted by end 2.
 o toString
 public String toString()
Gets a string describing the VCC update object.

Returns:
A string describing the VCC update object.
Overrides:
toString in class ModelUpdate

All Packages  Class Hierarchy  This Package  Previous  Next  Index