Package jade.tools
Class ToolAgent.AMSListenerBehaviour
- java.lang.Object
-
- jade.core.behaviours.Behaviour
-
- jade.core.behaviours.SimpleBehaviour
-
- jade.domain.introspection.AMSSubscriber
-
- jade.tools.ToolAgent.AMSListenerBehaviour
-
- All Implemented Interfaces:
Serializable,Serializable
- Enclosing class:
- ToolAgent
protected abstract class ToolAgent.AMSListenerBehaviour extends AMSSubscriber
This abstract behaviour is used to receive notifications from the AMS.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jade.domain.introspection.AMSSubscriber
AMSSubscriber.EventHandler
-
Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour
Behaviour.RunnableChangedEvent
-
-
Field Summary
-
Fields inherited from class jade.domain.introspection.AMSSubscriber
AMS_CANCELLATION, AMS_SUBSCRIPTION, PLATFORM_EVENTS
-
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAMSListenerBehaviour()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonStart()This method is just an empty placeholders for subclasses.-
Methods inherited from class jade.domain.introspection.AMSSubscriber
action, cancel, done, getCancel, getSubscribe, installHandlers
-
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, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
-
-
-
-
Method Detail
-
onStart
public void onStart()
Description copied from class:BehaviourThis method is just an empty placeholders for subclasses. It is executed just once before starting behaviour execution. Therefore, it acts as a prolog to the task represented by thisBehaviour.- Overrides:
onStartin classAMSSubscriber
-
-