Class RegisterBehaviour

java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.OneShotBehaviour
Jade.Behaviours.RegisterBehaviour
All Implemented Interfaces:
jade.util.leap.Serializable, Serializable

public class RegisterBehaviour extends jade.core.behaviours.OneShotBehaviour
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour

    jade.core.behaviours.Behaviour.RunnableChangedEvent
  • Field Summary

    Fields inherited from class jade.core.behaviours.Behaviour

    myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This behaviour is essential for the player to register in the DF (Directory Facilitator - Pagine Gialle) and be "searchable" by the Master Arbiter to organize the tournament.

    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, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, handle, handleBlockEvent, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegisterBehaviour

      public RegisterBehaviour(String type, String name)
  • Method Details

    • action

      public void action()
      This behaviour is essential for the player to register in the DF (Directory Facilitator - Pagine Gialle) and be "searchable" by the Master Arbiter to organize the tournament. We create an Agent Description and a Service Description to register the single agents in the DF.
      Specified by:
      action in class jade.core.behaviours.Behaviour