Class VCC

java.lang.Object
   |
   +----VCC

public class VCC
extends Object
Class definition for a Virtual Channel Connection in an ATM network. For P-MP VCCs, there will be one VCC object created for each discovered multipoint endpoint.

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

Variable Index

 o origin
List of VCL Endpoints at the originating end(s) of the VCC.
 o terminus
List of VCL Endpoints at the terminating end(s) of the VCC.

Constructor Index

 o VCC(VCLEndIn, VCLEndOut)
Class constructor.

Method Index

 o addReversePath(VCLEndIn, VCLEndOut)
Adds the VCL endpoints for the reverse path in a bi-directional VCC.
 o delete(VCLEndOut)
Deletes this VCC.
 o dumpStateComponent(FIFO, VCLEndOut)
Dumps the current state of this VCC's components.
 o getOrigin()
Returns the origin for this VCC.
 o getTerminus()
Returns the array of termi for the VCC.
 o toString()
Get a string describing the VCC object.

Variables

 o origin
 private VCLEndIn origin[]
List of VCL Endpoints at the originating end(s) of the VCC. There will be 2 such endpoints for a bi-directional VCC.

 o terminus
 private VCLEndOut terminus[]
List of VCL Endpoints at the terminating end(s) of the VCC. There will be 2 such endpoints for a bi-directional VCC.

Constructors

 o VCC
 public VCC(VCLEndIn orig,
            VCLEndOut term)
Class constructor.

Parameters:
orig - the VCC's originating VCL endpoint
term - the VCC's terminating VCL endpoint

Methods

 o addReversePath
 public void addReversePath(VCLEndIn orig,
                            VCLEndOut term)
Adds the VCL endpoints for the reverse path in a bi-directional VCC.

Parameters:
orig - the VCC's originating VCL endpoint
term - the VCC's terminating VCL endpoint
 o delete
 public void delete(VCLEndOut term)
Deletes this VCC.

Parameters:
term - the deleting VCL termination endpoint
 o getOrigin
 public VCLEndIn[] getOrigin()
Returns the origin for this VCC.

Returns:
The array of origin endpoints for this VCC.
 o getTerminus
 public VCLEndOut[] getTerminus()
Returns the array of termi for the VCC.

Returns:
The array of termini endpoints for the VCC.
 o dumpStateComponent
 public void dumpStateComponent(FIFO f,
                                VCLEndOut vcl)
Dumps the current state of this VCC's components.

Parameters:
f - where to queue the ModelUpdate objects representing the model's current state
vcl - the outbound VCL requesting the dump
 o toString
 public String toString()
Get a string describing the VCC object.

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