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
-
forwards
- A list of forward links through this switch to the internally
mapped outbound VCL endpoints.
-
origin
- The VCL endpoint at the originating end of any VCC(s) which
traverse this VCL.
-
reverse
- A reverse link to an externally connected outbound VCL endpoint,
if this VCL originates at another ATM switch.
-
VCLEndIn(SwitchPort, int, int, int)
- Constructs an inbound VCL endpoint.
-
VCLEndIn(SwitchPort, int, int, int, int, int)
- Constructs an inbound VCL endpoint.
-
addForwardMap(VCLEndOut)
- Adds a forward mapping from this VCL to an outbound VCL.
-
completeVCC(VCLEndIn)
- Constructs all possible complete VCC paths which traverse this VCL.
-
delete()
- Deletes this VCL.
-
deleteForwardMap(VCLEndOut)
- Deletes a forward mapping from this VCL to an outbound VCL.
-
deleteVCC()
- Deletes all VCCs which traverse this VCL.
-
findOrigin()
- Gets the VCL endpoint which is at the origin of the VCC path leading
to this VCL.
-
getOrigin()
- Gets the VCL at the originating end of VCCs traversing this VCL.
-
getReverseMap()
- Gets the reverse link to the VCL origin point.
-
map(VCLEndOut)
- Maps an inbound VCL endpoint to an outbound VCL endpoint.
-
setReverseMap(VCLEndOut)
- Sets the reverse link to the VCL origin point.
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.
reverse
private VCLEndOut reverse
- A reverse link to an externally connected outbound VCL endpoint,
if this VCL originates at another ATM switch.
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.
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.
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.
map
public void map(VCLEndOut out)
- Maps an inbound VCL endpoint to an outbound VCL endpoint.
- Parameters:
- out - the outbound VCL endpoint
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
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
delete
public void delete()
- Deletes this VCL.
deleteVCC
public void deleteVCC()
- Deletes all VCCs which traverse this VCL.
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
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
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
setReverseMap
public void setReverseMap(VCLEndOut orig)
- Sets the reverse link to the VCL origin point.
- Parameters:
- orig - the VCL's origin endpoint
getOrigin
public VCLEndIn getOrigin()
- Gets the VCL at the originating end of VCCs traversing this VCL.
- Returns:
- the VCL at the originating end