cz.cuni.amis.pogamut.ut2004.communication.translator.observer.state
Class MutatorListState
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.translator.observer.support.AbstractObserverFSMState<InfoMessage,CONTEXT>
cz.cuni.amis.pogamut.ut2004.communication.translator.observer.support.ObserverListState<Mutator,TranslatorContext>
cz.cuni.amis.pogamut.ut2004.communication.translator.observer.state.MutatorListState
- All Implemented Interfaces:
- IFSMState<InfoMessage,TranslatorContext>
public class MutatorListState
- extends ObserverListState<Mutator,TranslatorContext>
Takes care of the mutator list. It stores them inside a List object and when END message comes it sends
them to the world view via MutatorListObtained event.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MutatorListState
public MutatorListState()
stateEntering
public void stateEntering(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> fromState,
InfoMessage symbol)
- Specified by:
stateEntering
in interface IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateEntering
in class ObserverListState<Mutator,TranslatorContext>
stateLeaving
public void stateLeaving(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
- Specified by:
stateLeaving
in interface IFSMState<InfoMessage,TranslatorContext>
- Overrides:
stateLeaving
in class ObserverListState<Mutator,TranslatorContext>
innerStateSymbol
protected void innerStateSymbol(TranslatorContext context,
InfoMessage symbol)
- Overrides:
innerStateSymbol
in class ObserverListState<Mutator,TranslatorContext>