public class YylexParser extends Object implements IWorldMessageParser
Ignores IComponentControlHelper.startPaused(), performs IComponentControlHelper.start() in both start cases.
| Modifier and Type | Field and Description |
|---|---|
static cz.cuni.amis.utils.token.Token |
COMPONENT_ID |
| Constructor and Description |
|---|
YylexParser(IWorldReaderProvider readerProvider,
IYylex yylex,
IYylexObserver yylexObserver,
IComponentBus eventBus,
IAgentLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.utils.token.Token |
getComponentId()
Unique identification of the component.
|
Logger |
getLog() |
InfoMessage |
parse()
May block.
|
String |
toString() |
@Inject public YylexParser(IWorldReaderProvider readerProvider, IYylex yylex, @Nullable IYylexObserver yylexObserver, IComponentBus eventBus, IAgentLogger logger) throws CommunicationException
CommunicationExceptionpublic cz.cuni.amis.utils.token.Token getComponentId()
IComponentgetComponentId in interface IComponentpublic Logger getLog()
public InfoMessage parse() throws ComponentNotRunningException, ComponentPausedException, ParserException
IWorldMessageParserparse in interface IWorldMessageParserComponentNotRunningExceptionComponentPausedExceptionParserExceptionCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.