public static class IWorldEventQueue.Queue extends Object implements IWorldEventQueue
IWorldEventQueue.Queue| Constructor and Description |
|---|
IWorldEventQueue.Queue() |
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent[] |
popEvents()
Returns all events in the queue + removes them from the queue.
|
void |
pushEvent(cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent event)
Add event to the queue.
|
void |
pushEvent(cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent[] events)
Add events to the queue.
|
public cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent[] popEvents()
IWorldEventQueueIf there are no event this must return an empty array.
popEvents in interface IWorldEventQueuepublic void pushEvent(cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent event)
IWorldEventQueuepushEvent in interface IWorldEventQueuepublic void pushEvent(cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent[] events)
IWorldEventQueuepushEvent in interface IWorldEventQueueCopyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.