Class fi.hut.tcm.jacob.conduits.Protocol
java.lang.Object
|
+--fi.hut.tcm.jacob.conduits.BaseConduit
|
+--fi.hut.tcm.jacob.conduits.Protocol
- public abstract class Protocol
- extends BaseConduit
Protocol
A Protocol represents a larger, identifyable conduit structure. It allows
several conduits to be used as a single unit. For example, a
ConduitFactory can create a whole substructure instead of a single
Session. To the traversing Visitors the Protocol is (almost) invisible.
That is, a Protocol is only a structural element, not a behavioural
element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
INSIDE_A
public static final int INSIDE_A
INSIDE_B
public static final int INSIDE_B
Protocol
protected Protocol()
accept
protected final void accept(Visitor visitor,
Side from)
throws ConductingException,
java.lang.IllegalArgumentException
- Overrides:
- accept in class BaseConduit
initSides
protected void initSides()
- Overrides:
- initSides in class BaseConduit
initialSideCount
protected int initialSideCount()
- Overrides:
- initialSideCount in class BaseConduit
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
- clone in class BaseConduit