Class VCLEndOut

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

public class VCLEndOut
extends VCLEndpoint
Class definition for a VCL endpoint which is outbound to a switch port.

Version:
$Revision: 1.9 $, $Date: 2000/10/31 20:32:04 $
Author:
Mike Spengler, Joseph Thomas

Variable Index

 o forward
A forward link to an externally connected inbound VCL endpoint, if this VCL terminates at another ATM switch.
 o reverse
A reverse link to the inbound VCL endpoint in this switch which is mapped to this endpoint.
 o vcc
The completed VCC, if this VCL terminates at an endsystem.

Constructor Index

 o VCLEndOut(SwitchPort, int, int, int)
Constructs an outbound VCL endpoint.
 o VCLEndOut(SwitchPort, int, int, int, int, int)
Constructs an outbound VCL endpoint.

Method Index

 o clearVCC()
Clears any reference to a VCC for this VCL.
 o completedVCC(VCLEndIn)
Processes a newly constructed VCC path, terminating at this VCL.
 o delete()
Deletes this VCL.
 o deleteVCC()
Deletes all VCCs which traverse this VCL.
 o dumpStateComponent(FIFO)
Dumps the current state of this VCL's components.
 o findOrigin()
Gets the VCL endpoint which is at the origin of the VCC path leading to this VCL.
 o findTerminus(VCLEndIn)
Locates all the termini for VCC paths which traverse this VCL.
 o getForwardMap()
Gets the forward link to the VCL termination point.
 o getReverseMap()
Gets the reverse link to the VCL endpoint which is mapped to this endpoint.
 o getReverseVCC(VCLEndIn)
Gets the previously completed VCC, if one exists, whose VCL path is in the reverse direction from the endpoints supplied.
 o setForwardMap(VCLEndIn)
Sets the forward link to the VCL termination point.
 o setReverseMap(VCLEndIn)
Sets the reverse link to the VCL endpoint which is mapped to this endpoint.

Variables

 o forward
 private VCLEndIn forward
A forward link to an externally connected inbound VCL endpoint, if this VCL terminates at another ATM switch.

 o reverse
 private VCLEndIn reverse
A reverse link to the inbound VCL endpoint in this switch which is mapped to this endpoint.

 o vcc
 private VCC vcc
The completed VCC, if this VCL terminates at an endsystem.

Constructors

 o VCLEndOut
 public VCLEndOut(SwitchPort port,
                  int vpi,
                  int vci,
                  int proto,
                  int uptime,
                  int cells)
Constructs an outbound VCL endpoint.

Parameters:
port - The switch port originating the VCL.
vpi - The VPI.
vci - The VPI.
proto - The switching protocol.
uptime - The VCL uptime.
cells - The output cell count for this VCL.
 o VCLEndOut
 public VCLEndOut(SwitchPort port,
                  int vpi,
                  int vci,
                  int proto)
Constructs an outbound VCL endpoint.

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

Methods

 o findTerminus
 public void findTerminus(VCLEndIn orig)
Locates all the termini for VCC paths which traverse this VCL. Partial construction of incomplete paths will always take place while traversing towards the terminating endpoints.

Parameters:
orig - the VCL's origin point
 o findOrigin
 public VCLEndIn findOrigin()
Gets the VCL endpoint which is at the origin of the VCC path leading to this VCL. Partial construction of incomplete paths will always take place while traversing towards the origin endpoint.

Returns:
the origin VCL endpoint which leads to this VCL
 o completedVCC
 public void completedVCC(VCLEndIn orig)
Processes a newly constructed VCC path, terminating at this VCL.

Parameters:
orig - the VCC's origin point
 o getReverseVCC
 public VCC getReverseVCC(VCLEndIn orig)
Gets the previously completed VCC, if one exists, whose VCL path is in the reverse direction from the endpoints supplied.

Parameters:
orig - the VCC's origin point
Returns:
the previously completed reverse VCC, or null
 o delete
 public void delete()
Deletes this VCL.

 o deleteVCC
 public void deleteVCC()
Deletes all VCCs which traverse this VCL.

 o getForwardMap
 public VCLEndIn getForwardMap()
Gets the forward link to the VCL termination point.

Returns:
the externally connected VCL endpoint at this VCL's termination
 o setForwardMap
 public void setForwardMap(VCLEndIn term)
Sets the forward link to the VCL termination point.

Parameters:
term - the VCL's termination point
 o getReverseMap
 public VCLEndIn getReverseMap()
Gets the reverse link to the VCL endpoint which is mapped to this endpoint.

Returns:
the VCL endpoint which is mapped to this endpoint
 o setReverseMap
 public void setReverseMap(VCLEndIn in)
Sets the reverse link to the VCL endpoint which is mapped to this endpoint.

Parameters:
in - the VCL endpoint which is mapped to this endpoint
 o clearVCC
 public void clearVCC()
Clears any reference to a VCC for this VCL.

 o dumpStateComponent
 public void dumpStateComponent(FIFO f)
Dumps the current state of this VCL's components.

Parameters:
f - where to queue the ModelUpdate objects representing the model's current state