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