teamSpace.agent
Class DFRegisteringBehaviour

java.lang.Object
  extended byOneShotBehaviour
      extended byteamSpace.agent.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 calls the super-constructor and sets the ServiceDescription of this class.
 
Method Summary
 void action()
          The method registeres the services of the agent that owns this method.
 
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 calls the super-constructor and sets the ServiceDescription of this class.

Parameters:
ag - The owner agent of this behaviour
sd - The service description of the owner-agent
Method Detail

action

public void action()
The method registeres the services of the agent that owns this method.