cz.cuni.amis.pogamut.ut2004.communication.translator.server.support
Class AbstractServerFSMState<SYMBOL,CONTEXT extends TranslatorContext>
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.translator.server.support.AbstractServerFSMState<SYMBOL,CONTEXT>
- Type Parameters:
SYMBOL
- CONTEXT
-
- All Implemented Interfaces:
- IFSMState<SYMBOL,CONTEXT>
- Direct Known Subclasses:
- CommunicationTerminatedState, GameInfoExpectedState, ItemCategoryState, NavPointListState, PasswordState, ReadyState, ServerListState, ServerMessageExpectedState, ServerRunningState
public abstract class AbstractServerFSMState<SYMBOL,CONTEXT extends TranslatorContext>
- extends java.lang.Object
- implements IFSMState<SYMBOL,CONTEXT>
This abstract server states is handling ALIVE message, descendants does not need to care about those messages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractServerFSMState
public AbstractServerFSMState()
innerStateSymbol
protected abstract void innerStateSymbol(CONTEXT context,
SYMBOL symbol)
stateSymbol
public final void stateSymbol(CONTEXT context,
SYMBOL symbol)
- Specified by:
stateSymbol
in interface IFSMState<SYMBOL,CONTEXT extends TranslatorContext>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object