CoPS.agents
Class DFRegisteringBehaviour

java.lang.Object
  extended byOneShotBehaviour
      extended byCoPS.agents.DFRegisteringBehaviour

public class DFRegisteringBehaviour
extends OneShotBehaviour

This class contains the behaviour for registering a service with the DF, extends OneShotBehaviour

See Also:
Serialized Form

Constructor Summary
DFRegisteringBehaviour(Agent ag, ServiceDescription sd)
          The constructor.
 
Method Summary
 void action()
          In the action method the service description is registered with the JADE DF.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFRegisteringBehaviour

public DFRegisteringBehaviour(Agent ag,
                              ServiceDescription sd)
The constructor.

Parameters:
ag - The owner of this behaviour.
sd - The agent ServiceDescription
Method Detail

action

public void action()
In the action method the service description is registered with the JADE DF.