1 package cz.cuni.amis.pogamut.base.communication.worldview;
2
3 import cz.cuni.amis.pogamut.base.component.bus.exception.ComponentNotRunningException;
4 import cz.cuni.amis.pogamut.base.component.bus.exception.ComponentPausedException;
5 import cz.cuni.amis.utils.exception.PogamutInterruptedException;
6
7 public interface ILockableWorldView extends IWorldView {
8
9
10
11
12
13
14
15
16
17 public void lock() throws PogamutInterruptedException, ComponentNotRunningException, ComponentPausedException;
18
19
20
21
22 public void unlock() throws ComponentNotRunningException, ComponentPausedException;
23
24
25
26
27
28 public boolean isLocked();
29
30 }