Class PdeployMe.R1managerAnswer
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
eu.su.mas.dedale.mas.agent.interactions.protocols.PdeployMe.R1managerAnswer
- All Implemented Interfaces:
jade.util.leap.Serializable,Serializable
- Enclosing class:
PdeployMe
public class PdeployMe.R1managerAnswer
extends jade.core.behaviours.SimpleBehaviour
Behaviour waiting the gatekeeper answer.
If ok, the agent will be authorized to start its environment's specifics behaviours.
- Author:
- hc
- 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
ConstructorsConstructorDescriptionR1managerAnswer(String environementManagerName, AbstractDedaleAgent myagent) -
Method Summary
Methods inherited from class jade.core.behaviours.SimpleBehaviour
resetMethods 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
-
Constructor Details
-
R1managerAnswer
- Parameters:
environementManagerName- : name of the entity in charge of the environmentmyagent- : a ref to the agent
-
-
Method Details
-
action
public void action()- Specified by:
actionin classjade.core.behaviours.Behaviour
-
done
public boolean done()- Specified by:
donein classjade.core.behaviours.Behaviour
-