Modifier and Type | Method and Description |
---|---|
void |
IAct.act(CommandMessage command)
Execute an action in the world.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
WorldReader.read(char[] arg0,
int arg1,
int arg2) |
abstract void |
WorldWriter.write(char[] arg0,
int arg1,
int arg2) |
Modifier and Type | Method and Description |
---|---|
InfoMessage |
IWorldMessageParser.parse()
May block.
|
Modifier and Type | Method and Description |
---|---|
InfoMessage |
YylexParser.parse() |
Modifier and Type | Method and Description |
---|---|
IWorldChangeEvent[] |
IWorldMessageTranslator.processMessage(InfoMessage message)
The handler must process the message and return 0,1 or more world events.
|
Modifier and Type | Method and Description |
---|---|
IWorldChangeEvent |
WorldMessageTranslator.getEvent() |
Modifier and Type | Method and Description |
---|---|
void |
ILockableWorldView.lock()
Lock the worldview, preventing it from raising any new events.
|
void |
IWorldChangeEventInput.notify(IWorldChangeEvent event)
New event was generated from the world.
|
void |
IWorldChangeEventInput.notifyAfterPropagation(IWorldChangeEvent event)
Raise another event after current one finishes its propagation.
|
void |
IWorldChangeEventInput.notifyImmediately(IWorldChangeEvent event)
Notify immediately will process the event right away, it won't use "event recursion buffer" to postpone the processing of the event.
|
void |
ILockableWorldView.unlock()
Unlock the worldview, processing all events that came between lock() / unlock() calls.
|
Modifier and Type | Method and Description |
---|---|
void |
EventDrivenWorldView.notify(IWorldChangeEvent event) |
void |
EventDrivenWorldView.notifyAfterPropagation(IWorldChangeEvent event) |
void |
EventDrivenWorldView.notifyImmediately(IWorldChangeEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
BatchAwareWorldView.notifyImmediately(IWorldChangeEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
ITimedWorldChangeEventInput.notify(IWorldChangeEvent event) |
void |
ISharedWorldChangeEventInput.notify(IWorldChangeEvent event) |
void |
ILocalWorldView.notifyImmediately(IWorldChangeEvent event)
Calls notify without waiting for batches, locks or anything else.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalWorldViewAdapter.lock() |
void |
LocalWorldViewAdapter.notify(IWorldChangeEvent event) |
void |
EventDrivenSharedWorldView.notify(IWorldChangeEvent event) |
void |
EventDrivenLocalWorldView.notify(IWorldChangeEvent event) |
void |
LocalWorldViewAdapter.notifyAfterPropagation(IWorldChangeEvent event) |
void |
EventDrivenLocalWorldView.notifyAfterPropagation(IWorldChangeEvent event) |
void |
LocalWorldViewAdapter.notifyImmediately(IWorldChangeEvent event) |
void |
EventDrivenLocalWorldView.notifyImmediately(IWorldChangeEvent event) |
void |
LocalWorldViewAdapter.unlock() |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.