cz.cuni.amis.pogamut.usar2004.communication.translator
Class IWorldEventQueue.Queue
java.lang.Object
cz.cuni.amis.pogamut.usar2004.communication.translator.IWorldEventQueue.Queue
- All Implemented Interfaces:
- IWorldEventQueue
- Enclosing interface:
- IWorldEventQueue
public static class IWorldEventQueue.Queue
- extends Object
- implements IWorldEventQueue
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IWorldEventQueue.Queue
public IWorldEventQueue.Queue()
popEvents
public cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent[] popEvents()
- Description copied from interface:
IWorldEventQueue
- Returns all events in the queue + removes them from the queue.
If there are no event this must return an empty array.
- Specified by:
popEvents in interface IWorldEventQueue
- Returns:
pushEvent
public void pushEvent(cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent event)
- Description copied from interface:
IWorldEventQueue
- Add event to the queue.
- Specified by:
pushEvent in interface IWorldEventQueue
pushEvent
public void pushEvent(cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent[] events)
- Description copied from interface:
IWorldEventQueue
- Add events to the queue.
- Specified by:
pushEvent in interface IWorldEventQueue
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.