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
-
alive
- The last time this VCL endpoint was reported active.
-
cells
- The output cell count for this VCL.
-
port
- The switch port where the VCL ends.
-
proto
- The switching protocol that created the VCL.
-
uptime
- The VCC uptime for this VCL.
-
vci
- The VCI at the endpoint.
-
vpi
- The VPI at the endpoint.
-
VCLEndpoint(SwitchPort, int, int, int)
- Constructs a VCL endpoint.
-
VCLEndpoint(SwitchPort, int, int, int, int, int)
- Constructs a VCL endpoint.
-
getActive()
- Gets the last time this VCL endpoint was considered active.
-
getCellCount()
- Get the output cell count for this VCL.
-
getPort()
- Get the switch port where the VCL ends.
-
getProto()
- Get the switching protocol that created the VCC.
-
getUptime()
- Get the uptime for this VCL.
-
getVCI()
- Get the VCI at the endpoint.
-
getVPI()
- Get the VPI at the endpoint.
-
refreshActive()
- Refreshes the VCL endpoint's active time.
-
setCellCount(int)
- Set (update) this output cell count for this VCL.
-
setUptime(int)
- Set (update) the uptime for this VCL.
-
toString()
- Get a string describing the VCLEndpoint object.
port
private SwitchPort port
- The switch port where the VCL ends.
vpi
private int vpi
- The VPI at the endpoint.
vci
private int vci
- The VCI at the endpoint.
proto
private int proto
- The switching protocol that created the VCL.
alive
private long alive
- The last time this VCL endpoint was reported active.
cells
private int cells
- The output cell count for this VCL.
uptime
private int uptime
- The VCC uptime for this VCL.
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.
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.
getPort
public SwitchPort getPort()
- Get the switch port where the VCL ends.
- Returns:
- The switch port where the VCL ends.
getVPI
public int getVPI()
- Get the VPI at the endpoint.
- Returns:
- The VPI at the endpoint.
getVCI
public int getVCI()
- Get the VCI at the endpoint.
- Returns:
- The VCI at the endpoint.
getProto
public int getProto()
- Get the switching protocol that created the VCC.
- Returns:
- The switching protocol that created the VCC.
getActive
public long getActive()
- Gets the last time this VCL endpoint was considered active.
- Returns:
- the last time this endpoint was considered active
getUptime
public int getUptime()
- Get the uptime for this VCL.
- Returns:
- the uptime for this VCL
getCellCount
public int getCellCount()
- Get the output cell count for this VCL.
- Returns:
- the output cell count for this VCL
setUptime
public void setUptime(int uptime)
- Set (update) the uptime for this VCL.
- Parameters:
- uptime - the updated uptime for this VCL
setCellCount
public void setCellCount(int cells)
- Set (update) this output cell count for this VCL.
- Parameters:
- cells - the updated output cell for this VCL
refreshActive
public void refreshActive()
- Refreshes the VCL endpoint's active time.
toString
public String toString()
- Get a string describing the VCLEndpoint object.
- Returns:
- A string describing the VCLEndpoint object.
- Overrides:
- toString in class Object