Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class fi.hut.tcm.jacob.conduits.BaseConduit

java.lang.Object
  |
  +--fi.hut.tcm.jacob.conduits.BaseConduit
Subclasses:
ConduitFactory, Mux, Protocol, Sedaptor

public abstract class BaseConduit
extends java.lang.Object
implements Conduit, java.lang.Cloneable
BaseConduit A BaseConduit is an invisible abstract class that implements the common behaviour for the real conduits. It is not part of the externally visible model but an internal implementation class.


Field Summary
int id
           
static int SIDE_NUMBER
           
Side[] sides
           
 
Constructor Summary
BaseConduit()
           
 
Method Summary
void accept(Visitor visitor, Side from)
           
java.lang.Object clone()
           
void dump()
           
int getId()
           
Side getSide(int index)
           
int getSideCount()
           
int initialSideCount()
           
void initSides()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

SIDE_NUMBER

protected static final int SIDE_NUMBER

sides

protected Side[] sides

id

protected int id
Constructor Detail

BaseConduit

protected BaseConduit()
Method Detail

dump

public void dump()
Description copied from interface:
 
Specified by:
dump in interface Conduit

getId

public int getId()
Description copied from interface:
 
Specified by:
getId in interface Conduit

accept

protected abstract void accept(Visitor visitor,
                               Side from)
                       throws ConductingException,
                              java.lang.IllegalArgumentException

initSides

protected void initSides()

initialSideCount

protected int initialSideCount()

getSide

public Side getSide(int index)
Description copied from interface:
 
Specified by:
getSide in interface Conduit

getSideCount

public int getSideCount()
Description copied from interface:
 
Specified by:
getSideCount in interface Conduit

clone

public java.lang.Object clone()
                      throws java.lang.CloneNotSupportedException
Description copied from interface:
 
Specified by:
clone in interface Conduit
Overrides:
clone in class java.lang.Object

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD