Class PathOrigin

java.lang.Object
   |
   +----PathOrigin

public class PathOrigin
extends Object
Class definition for a virtual path that originates at a switch port in an IP/ATM network.

Version:
$Revision: 1.5 $, $Date: 2000/10/12 14:09:52 $
Author:
John Cavanaugh, Mike Spengler

Variable Index

 o alive
The last time this path was reported active.
 o port
The switch port at which the path originates.
 o termNode
The node at the far end of the path.
 o vpi
The VPI for the path.

Constructor Index

 o PathOrigin(SwitchPort, int, CollectorNode)
Construct a PathOrigin object.

Method Index

 o delete()
Delete this path.
 o deleteTermNode()
Delete this path due to the deletion of the node terminating this path.
 o getActive()
Gets the last time this path was considered active.
 o getPort()
Returns the port associated with this path
 o getTermNode()
Get node at the far end of the path.
 o getVPI()
Get the path's VPI.
 o refreshActive()
Refreshes the path's active time.
 o toString()
Get a string describing the PathOrigin object.

Variables

 o port
 private SwitchPort port
The switch port at which the path originates.

 o vpi
 private int vpi
The VPI for the path.

 o termNode
 private CollectorNode termNode
The node at the far end of the path.

 o alive
 private long alive
The last time this path was reported active.

Constructors

 o PathOrigin
 public PathOrigin(SwitchPort port,
                   int vpi,
                   CollectorNode termNode)
Construct a PathOrigin object.

Parameters:
port - The port at which the path originates.
vpi - The VPI for the path.
termNode - The node at the far end of the path.

Methods

 o delete
 public void delete()
Delete this path.

 o deleteTermNode
 public void deleteTermNode()
Delete this path due to the deletion of the node terminating this path.

 o getVPI
 public int getVPI()
Get the path's VPI.

Returns:
The VPI for the path.
 o getTermNode
 public CollectorNode getTermNode()
Get node at the far end of the path.

Returns:
The node at the far end of the path.
 o getActive
 public long getActive()
Gets the last time this path was considered active.

Returns:
the last time this path was considered active
 o refreshActive
 public void refreshActive()
Refreshes the path's active time.

 o getPort
 public SwitchPort getPort()
Returns the port associated with this path

Returns:
associated port
 o toString
 public String toString()
Get a string describing the PathOrigin object.

Returns:
A string describing the PathOrigin object.
Overrides:
toString in class Object