|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface ILockableWorldView
| Method Summary | |
|---|---|
boolean |
isLocked()
Whether the worldview is locked. |
void |
lock()
Lock the worldview, preventing it from raising any new events. |
void |
unlock()
Unlock the worldview, processing all events that came between lock() / unlock() calls. |
| Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.IWorldView |
|---|
addEventListener, addObjectListener, addObjectListener, addObjectListener, addObjectListener, get, get, get, getAll, getAll, getEventBus, getSingle, isListening, isListening, isListening, isListening, isListening, isListening, removeEventListener, removeListener, removeObjectListener, removeObjectListener, removeObjectListener, removeObjectListener |
| Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.IWorldChangeEventInput |
|---|
notify, notifyAfterPropagation, notifyImmediately |
| Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponent |
|---|
getComponentId |
| Method Detail |
|---|
void lock()
throws cz.cuni.amis.utils.exception.PogamutInterruptedException,
ComponentNotRunningException,
ComponentPausedException
When locked - the worldview must store all incoming events and process them during unlock.
Note that it is implementation-dependent whether this method is blocking or not.
cz.cuni.amis.utils.exception.PogamutInterruptedException
ComponentNotRunningException
ComponentPausedException
void unlock()
throws ComponentNotRunningException,
ComponentPausedException
ComponentNotRunningException
ComponentPausedExceptionboolean isLocked()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||