View Javadoc

1   package cz.cuni.amis.pogamut.base.communication.translator.event;
2   
3   import cz.cuni.amis.pogamut.base.communication.exception.CommunicationException;
4   import cz.cuni.amis.pogamut.base.component.IComponent;
5   import cz.cuni.amis.pogamut.base.component.bus.exception.ComponentNotRunningException;
6   import cz.cuni.amis.pogamut.base.utils.guice.AgentScoped;
7   
8   /**
9    * Interface providing events from the world.
10   * @author Jimmy
11   */
12  public interface IWorldChangeEventOutput extends IComponent {
13  
14  	/**
15  	 * Returns next event of the world.
16  	 * <p><p>
17  	 * May block.
18  	 * 
19  	 * @return
20  	 */
21  	public IWorldChangeEvent getEvent() throws CommunicationException, ComponentNotRunningException;
22  	
23  }