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

Interface fi.hut.tcm.jacob.conduits.State


public abstract interface State
State A State is a generic interface for protocol specific states. Each protocol implementation must provide its own set of state classes. Typically all state classes use the Singleton pattern, making it impossible to directly create new instances of them. Therefore we have specified the instance() method at the interface level: the specific State class may use or not to use the pattern.


Field Summary
static State instance
          Each state class must declare an independent, final instance class variable that is a reference to the only instance of that particular class.
 

Field Detail

instance

public static final State instance
Each state class must declare an independent, final instance class variable that is a reference to the only instance of that particular class. All State constructors must be private.

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