cz.cuni.amis.pogamut.udk.communication.translator
Class IWorldEventQueue.Queue
java.lang.Object
cz.cuni.amis.pogamut.udk.communication.translator.IWorldEventQueue.Queue
- All Implemented Interfaces:
- IWorldEventQueue
- Enclosing interface:
- IWorldEventQueue
public static class IWorldEventQueue.Queue
- extends Object
- implements IWorldEventQueue
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 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(IWorldChangeEvent event)
- Description copied from interface:
IWorldEventQueue
- Add event to the queue.
- Specified by:
pushEvent
in interface IWorldEventQueue
pushEvent
public void pushEvent(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.