vs.rationalagent.behaviour
Class RegisterBehaviour

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.RegisterBehaviour
All Implemented Interfaces:
java.io.Serializable

public class RegisterBehaviour
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
RegisterBehaviour(jade.core.Agent a, java.lang.String serviceType)
           
 
Method Summary
 void action()
           
 
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

RegisterBehaviour

public RegisterBehaviour(jade.core.Agent a,
                         java.lang.String serviceType)
Method Detail

action

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