cz.cuni.amis.pogamut.base.component
Interface IComponentAware

Package class diagram package IComponentAware
All Known Subinterfaces:
IAgent, IAgent3D, IEmbodiedAgent, IGhostAgent, IObservingAgent, IWorldServer<A>
All Known Implementing Classes:
AbstractAgent, AbstractAgent3D, AbstractEmbodiedAgent, AbstractGhostAgent, AbstractObservingAgent, AbstractWorldServer, Agent3DJMXProxy, AgentJMXProxy, ComponentBus, GhostAgentJMXProxy, LifecycleBus, TestAgents.NetworkLoggingAgent

public interface IComponentAware


Method Summary
 IComponentBus getEventBus()
          IComponentBus that the instance is working with.
 

Method Detail

getEventBus

IComponentBus getEventBus()
IComponentBus that the instance is working with.

Note that by design-choice - the IComponentBus is a singleton inside AgentScoped, therefore you don't have to necessarily obtain the instance through the component, it suffice to obtain it using injection into your object.

Returns:


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.