cz.cuni.amis.pogamut.base.communication.parser
Interface IWorldMessageParser

Package class diagram package IWorldMessageParser
All Superinterfaces:
IComponent
All Known Implementing Classes:
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.

Author:
Jimmy

Method Summary
 InfoMessage parse()
          May block.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponent
getComponentId
 

Method Detail

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


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