The task is simply the call to the method handleElapsedTimeout()
that must be implemented by all subclasses. Notice that the best practice in JADE is when this method just adds a behaviour to the agent class.
All subclasses have available the protected variable myAgent
that points to the agent class.
The programmer must use this abstract class in this simple way:
handleElapsedTimeout
. addBehaviour()
method. handleElapsedTimeout
must implement the task that will be executed after the timeout is elapsed.
|
|