1 package cz.cuni.amis.pogamut.base.component;
2
3 import cz.cuni.amis.pogamut.base.component.bus.event.IPausingEvent;
4
5 /**
6 * Interface marking the component as pausable - it responds with transactional events on events {@link IPausingEvent} and
7 * {@link IAgentResumingEvent}
8 *
9 * @author Jimmy
10 */
11 public interface IPausable {
12
13 /**
14 * Pauses the component.
15 */
16 public void pause();
17
18 /**
19 * Resumes the component.
20 */
21 public void resume();
22
23 }