cz.cuni.amis.pogamut.base.communication.parser
Interface IWorldMessageParser
- All Superinterfaces:
- IComponent
- All Known Implementing Classes:
- UT2004Parser, YylexParser
public interface IWorldMessageParser
- extends IComponent
Message parser has a method for reading and parsing messages from the world.
It should be initialized with IWorldReaderProvider and implement serialization of the
message to string.
parse
InfoMessage parse()
throws CommunicationException,
ComponentNotRunningException,
ComponentPausedException
- May block.
Should get and parse next message from the reader.
- Returns:
- parsed message
- Throws:
CommunicationException
ComponentNotRunningException
ComponentPausedException