All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VisiModel.PhyUpdate

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

public class PhyUpdate
extends ModelUpdate
Class definition for an update to a physical connection in an IP/ATM network.

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

Variable Index

 o end1
The name of the node at one end of the connection.
 o end2
The name of the node at the other end of the connection.
 o port1
The name of the port at end1 of the connection.
 o port2
The name of the port at end2 of the connection.

Constructor Index

 o PhyUpdate(int, String, String, String, String, long)
Construct a physical connection update.

Method Index

 o getEnd1()
Get the name of the node at the first end of the connection.
 o getEnd2()
Get the name of the node at the second end of the connection.
 o getPort1()
Get the name of the port at the first end of the connection.
 o getPort2()
Get the name of the port at the second end of the connection.
 o toString()
Get a string describing the physical connection update object.

Variables

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

 o port1
 private String port1
The name of the port at end1 of the connection.

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

 o port2
 private String port2
The name of the port at end2 of the connection.

Constructors

 o PhyUpdate
 public PhyUpdate(int type,
                  String end1,
                  String port1,
                  String end2,
                  String port2,
                  long time)
Construct a physical connection update.

Parameters:
type - The update type.
end1 - The name of the node to be connected.
port1 - The name of the port connected on end1.
end2 - The name of the node to be connected.
port2 - The name of the port connected on end2.
time - The time when the object data was created.

Methods

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

Returns:
The node name.
 o getPort1
 public String getPort1()
Get the name of the port at the first end of the connection.

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

Returns:
The node name.
 o getPort2
 public String getPort2()
Get the name of the port at the second end of the connection.

Returns:
The port name.
 o toString
 public String toString()
Get a string describing the physical connection update object.

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index