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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
SIDE_NUMBER
protected static final int SIDE_NUMBER
sides
protected Side[] sides
id
protected int id
BaseConduit
protected BaseConduit()
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