View Javadoc

1   package cz.cuni.amis.pogamut.base.server;
2   
3   import cz.cuni.amis.pogamut.base.agent.IAgent;
4   import cz.cuni.amis.utils.collections.ObservableCollection;
5   
6   /** 
7    * Provides functionality for observing GaviaLib based agents connected to the world.
8    * @author Ik
9    */
10  public interface IWorldAgentsObserver<A extends IAgent> {
11  
12      /**
13       * Instances of the IAgent interface returned might not be the agents themselves
14       * as they can run on remote machines. In this case it will be proxy objects 
15       * that can control those agents.
16       * 
17       * @return List of all Pogamut based agents in the world.
18       */
19      ObservableCollection<A> getAgents();
20      
21  }