vs.rationalagent.behaviour
Class TraceBehaviour

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by jade.core.behaviours.OneShotBehaviour
              extended by vs.rationalagent.behaviour.TraceBehaviour
All Implemented Interfaces:
java.io.Serializable

public class TraceBehaviour
extends jade.core.behaviours.OneShotBehaviour

A one shot behaviour that registers an agent with the DF

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jade.core.behaviours.Behaviour
STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
TraceBehaviour(jade.core.Agent a, int verbosity, int depth, java.lang.String message)
           
 
Method Summary
 void action()
           
 jade.core.AID findTracer()
          Attempts to find Tracer agent
 
Methods inherited from class jade.core.behaviours.OneShotBehaviour
done
 
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceBehaviour

public TraceBehaviour(jade.core.Agent a,
                      int verbosity,
                      int depth,
                      java.lang.String message)
Method Detail

action

public void action()
Specified by:
action in class jade.core.behaviours.Behaviour

findTracer

public jade.core.AID findTracer()
Attempts to find Tracer agent

Returns:
AID of Tracer agent