Class VCLEndIn

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

public class VCLEndIn
extends VCLEndpoint
Class definition for a VCL endpoint which is inbound from a switch port.

Version:
$Revision: 1.8 $, $Date: 2000/10/12 14:09:55 $
Author:
Mike Spengler, Joseph Thomas

Variable Index

 o forwards
A list of forward links through this switch to the internally mapped outbound VCL endpoints.
 o origin
The VCL endpoint at the originating end of any VCC(s) which traverse this VCL.
 o reverse
A reverse link to an externally connected outbound VCL endpoint, if this VCL originates at another ATM switch.

Constructor Index

 o VCLEndIn(SwitchPort, int, int, int)
Constructs an inbound VCL endpoint.
 o VCLEndIn(SwitchPort, int, int, int, int, int)
Constructs an inbound VCL endpoint.

Method Index

 o addForwardMap(VCLEndOut)
Adds a forward mapping from this VCL to an outbound VCL.
 o completeVCC(VCLEndIn)
Constructs all possible complete VCC paths which traverse this VCL.
 o delete()
Deletes this VCL.
 o deleteForwardMap(VCLEndOut)
Deletes a forward mapping from this VCL to an outbound VCL.
 o deleteVCC()
Deletes all VCCs which traverse this VCL.
 o findOrigin()
Gets the VCL endpoint which is at the origin of the VCC path leading to this VCL.
 o getOrigin()
Gets the VCL at the originating end of VCCs traversing this VCL.
 o getReverseMap()
Gets the reverse link to the VCL origin point.
 o map(VCLEndOut)
Maps an inbound VCL endpoint to an outbound VCL endpoint.
 o setReverseMap(VCLEndOut)
Sets the reverse link to the VCL origin point.

Variables

 o forwards
 private VectorIter forwards
A list of forward links through this switch to the internally mapped outbound VCL endpoints. Multiple forward links will be needed in the case of P-MP VCCs.

 o reverse
 private VCLEndOut reverse
A reverse link to an externally connected outbound VCL endpoint, if this VCL originates at another ATM switch.

 o origin
 private VCLEndIn origin
The VCL endpoint at the originating end of any VCC(s) which traverse this VCL. It will be this VCL if the VCL originates at an ATM endsystem.

Constructors

 o VCLEndIn
 public VCLEndIn(SwitchPort port,
                 int vpi,
                 int vci,
                 int proto,
                 int uptime,
                 int cells)
Constructs an inbound 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 VCL output cell count.
 o VCLEndIn
 public VCLEndIn(SwitchPort port,
                 int vpi,
                 int vci,
                 int proto)
Constructs an inbound VCL endpoint.

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

Methods

 o map
 public void map(VCLEndOut out)
Maps an inbound VCL endpoint to an outbound VCL endpoint.

Parameters:
out - the outbound VCL endpoint
 o completeVCC
 public void completeVCC(VCLEndIn orig)
Constructs all possible complete VCC paths which traverse this VCL. The VCC construction will proceed by first finding the originating VCL endpoint (there can be only one) and then locating all of the terminating VCL endpoints (with P-MP VCCs, there may be multiple VCCs which use this VCL. Partial construction of incomplete paths will always take place during the construction attempt process.

Parameters:
orig - the VCL at the VCC origin, if known
 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 delete
 public void delete()
Deletes this VCL.

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

 o addForwardMap
 private void addForwardMap(VCLEndOut out)
Adds a forward mapping from this VCL to an outbound VCL.

Parameters:
out - the VCL endpoint this endpoint is mapped to
 o deleteForwardMap
 public void deleteForwardMap(VCLEndOut out)
Deletes a forward mapping from this VCL to an outbound VCL.

Parameters:
out - the outbound VCL endpoint to be deleted
 o getReverseMap
 public VCLEndOut getReverseMap()
Gets the reverse link to the VCL origin point.

Returns:
the VCL externally connected VCL endpoint at this VCL's origin
 o setReverseMap
 public void setReverseMap(VCLEndOut orig)
Sets the reverse link to the VCL origin point.

Parameters:
orig - the VCL's origin endpoint
 o getOrigin
 public VCLEndIn getOrigin()
Gets the VCL at the originating end of VCCs traversing this VCL.

Returns:
the VCL at the originating end