Class VCLEndpoint

java.lang.Object
   |
   +----VCLEndpoint

public abstract class VCLEndpoint
extends Object
Class definition for a VCL endpoint in an IP/ATM network.

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

Variable Index

 o alive
The last time this VCL endpoint was reported active.
 o cells
The output cell count for this VCL.
 o port
The switch port where the VCL ends.
 o proto
The switching protocol that created the VCL.
 o uptime
The VCC uptime for this VCL.
 o vci
The VCI at the endpoint.
 o vpi
The VPI at the endpoint.

Constructor Index

 o VCLEndpoint(SwitchPort, int, int, int)
Constructs a VCL endpoint.
 o VCLEndpoint(SwitchPort, int, int, int, int, int)
Constructs a VCL endpoint.

Method Index

 o getActive()
Gets the last time this VCL endpoint was considered active.
 o getCellCount()
Get the output cell count for this VCL.
 o getPort()
Get the switch port where the VCL ends.
 o getProto()
Get the switching protocol that created the VCC.
 o getUptime()
Get the uptime for this VCL.
 o getVCI()
Get the VCI at the endpoint.
 o getVPI()
Get the VPI at the endpoint.
 o refreshActive()
Refreshes the VCL endpoint's active time.
 o setCellCount(int)
Set (update) this output cell count for this VCL.
 o setUptime(int)
Set (update) the uptime for this VCL.
 o toString()
Get a string describing the VCLEndpoint object.

Variables

 o port
 private SwitchPort port
The switch port where the VCL ends.

 o vpi
 private int vpi
The VPI at the endpoint.

 o vci
 private int vci
The VCI at the endpoint.

 o proto
 private int proto
The switching protocol that created the VCL.

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

 o cells
 private int cells
The output cell count for this VCL.

 o uptime
 private int uptime
The VCC uptime for this VCL.

Constructors

 o VCLEndpoint
 public VCLEndpoint(SwitchPort port,
                    int vpi,
                    int vci,
                    int proto,
                    int uptime,
                    int cells)
Constructs a VCL endpoint.

Parameters:
port - The switch port terminating the VCL.
vpi - The VPI.
vci - The VPI.
proto - The switching protocol.
uptime - The VCL uptime.
cells - The output cell count for the VCL.
 o VCLEndpoint
 public VCLEndpoint(SwitchPort port,
                    int vpi,
                    int vci,
                    int proto)
Constructs a VCL endpoint.

Parameters:
port - The switch port terminating the VCL.
vpi - The VPI.
vci - The VPI.
proto - The switching protocol.

Methods

 o getPort
 public SwitchPort getPort()
Get the switch port where the VCL ends.

Returns:
The switch port where the VCL ends.
 o getVPI
 public int getVPI()
Get the VPI at the endpoint.

Returns:
The VPI at the endpoint.
 o getVCI
 public int getVCI()
Get the VCI at the endpoint.

Returns:
The VCI at the endpoint.
 o getProto
 public int getProto()
Get the switching protocol that created the VCC.

Returns:
The switching protocol that created the VCC.
 o getActive
 public long getActive()
Gets the last time this VCL endpoint was considered active.

Returns:
the last time this endpoint was considered active
 o getUptime
 public int getUptime()
Get the uptime for this VCL.

Returns:
the uptime for this VCL
 o getCellCount
 public int getCellCount()
Get the output cell count for this VCL.

Returns:
the output cell count for this VCL
 o setUptime
 public void setUptime(int uptime)
Set (update) the uptime for this VCL.

Parameters:
uptime - the updated uptime for this VCL
 o setCellCount
 public void setCellCount(int cells)
Set (update) this output cell count for this VCL.

Parameters:
cells - the updated output cell for this VCL
 o refreshActive
 public void refreshActive()
Refreshes the VCL endpoint's active time.

 o toString
 public String toString()
Get a string describing the VCLEndpoint object.

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