com.azalient.api.event
Interface SimulationEventListener

All Known Implementing Classes:
com.azalient.base.BaseInternals, BasePlugin

public interface SimulationEventListener

[Internal use only] An object that listens for simulation events should implement this interface


Method Summary
 boolean agentEvent(IAgent agent, AgentEvent event, Object data)
          This is called by the simulation to fire an agent event.
 boolean isEnabled()
          Returns true if this listener is enabled
 boolean modelEvent(ModelEvent event, Object data)
          This is called by the simulation to fire a model event.
 

Method Detail

modelEvent

boolean modelEvent(ModelEvent event,
                   Object data)
This is called by the simulation to fire a model event. It is not recommend that plugins call this method.

Internal - Not recommended for use. Public as a side-effect of implementation method

agentEvent

boolean agentEvent(IAgent agent,
                   AgentEvent event,
                   Object data)
This is called by the simulation to fire an agent event. It is not recommend that plugins call this method.

Internal - Not recommended for use. Public as a side-effect of implementation method

isEnabled

boolean isEnabled()
Returns true if this listener is enabled