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.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.


Field Summary
static int INSIDE_A
           
static int INSIDE_B
           
 
Fields inherited from class fi.hut.tcm.jacob.conduits.BaseConduit
id, SIDE_NUMBER, sides
 
Constructor Summary
Protocol()
           
 
Method Summary
void accept(Visitor visitor, Side from)
           
java.lang.Object clone()
           
int initialSideCount()
           
void initSides()
           
 
Methods inherited from class fi.hut.tcm.jacob.conduits.BaseConduit
accept, clone, dump, getId, getSide, getSideCount, initialSideCount, initSides
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

INSIDE_A

public static final int INSIDE_A

INSIDE_B

public static final int INSIDE_B
Constructor Detail

Protocol

protected Protocol()
Method Detail

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

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