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
-
end1
- The name of the node at one end of the connection.
-
end2
- The name of the node at the other end of the connection.
-
port1
- The name of the port at end1 of the connection.
-
port2
- The name of the port at end2 of the connection.
-
PhyUpdate(int, String, String, String, String, long)
- Construct a physical connection update.
-
getEnd1()
- Get the name of the node at the first end of the connection.
-
getEnd2()
- Get the name of the node at the second end of the connection.
-
getPort1()
- Get the name of the port at the first end of the connection.
-
getPort2()
- Get the name of the port at the second end of the connection.
-
toString()
- Get a string describing the physical connection update object.
end1
private String end1
- The name of the node at one end of the connection.
port1
private String port1
- The name of the port at end1 of the connection.
end2
private String end2
- The name of the node at the other end of the connection.
port2
private String port2
- The name of the port at end2 of the connection.
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.
getEnd1
public String getEnd1()
- Get the name of the node at the first end of the connection.
- Returns:
- The node name.
getPort1
public String getPort1()
- Get the name of the port at the first end of the connection.
- Returns:
- The port name.
getEnd2
public String getEnd2()
- Get the name of the node at the second end of the connection.
- Returns:
- The node name.
getPort2
public String getPort2()
- Get the name of the port at the second end of the connection.
- Returns:
- The port name.
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