cz.cuni.amis.pogamut.ut2004.communication.translator.server.state
Class MutatorListState

Package class diagram package MutatorListState
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.AbstractServerFSMState<InfoMessage,CONTEXT>
      extended by cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.ServerListState<Mutator,TranslatorContext>
          extended by cz.cuni.amis.pogamut.ut2004.communication.translator.server.state.MutatorListState
All Implemented Interfaces:
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>

public class MutatorListState
extends ServerListState<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.

Author:
Jimmy

Constructor Summary
MutatorListState()
           
 
Method Summary
protected  void innerStateSymbol(TranslatorContext context, InfoMessage symbol)
           
 void stateEntering(TranslatorContext context, cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> fromState, InfoMessage symbol)
           
 void stateLeaving(TranslatorContext context, cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState, InfoMessage symbol)
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.ServerListState
getList, init, newList, restart
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.AbstractServerFSMState
stateSymbol, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutatorListState

public MutatorListState()
Method Detail

stateEntering

public void stateEntering(TranslatorContext context,
                          cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> fromState,
                          InfoMessage symbol)
Specified by:
stateEntering in interface cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
Overrides:
stateEntering in class ServerListState<Mutator,TranslatorContext>

stateLeaving

public void stateLeaving(TranslatorContext context,
                         cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState,
                         InfoMessage symbol)
Specified by:
stateLeaving in interface cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
Overrides:
stateLeaving in class ServerListState<Mutator,TranslatorContext>

innerStateSymbol

protected void innerStateSymbol(TranslatorContext context,
                                InfoMessage symbol)
Overrides:
innerStateSymbol in class ServerListState<Mutator,TranslatorContext>


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.