it.polito.elite.doseWS.agency.behaviours
Class CeckAgencyEmployees
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.OneShotBehaviour
it.polito.elite.doseWS.agency.behaviours.CeckAgencyEmployees
- All Implemented Interfaces:
- java.io.Serializable, jade.util.leap.Serializable
- public class CeckAgencyEmployees
- extends jade.core.behaviours.OneShotBehaviour
Title: CeckAgencyEmployees
Description: Parts of the autonomic features of the platform. It sends an
isAlive message to each AID present in Annotators,
Filters and SynsetManagers HashSet collectors of the AgencyManager agents who
schedules this behaviour. Such collectors are managed and filled by the manager
itself. See subscribeServiceRegistrations method of AgencyManager for details.
After sending this message it further schedules a CountEmployeesNumber (extends
WakerBehaviour) that its executed after a certain delay time in order to get the
AIDs of the not responding agents. The manager backs up such message receiver agent AIDs
on its internal collector PendingEmployees Hashtable. From this collector the
replyng agents (who therefore are still alive and running)are removed by the
manager itself.
Copyright: Copyright (c) 2004
Company: Politecnico di Torino
- Author:
- alessio.bosca@polito.it
- See Also:
- Serialized Form
| Fields inherited from class jade.core.behaviours.Behaviour |
STATE_BLOCKED, STATE_READY, STATE_RUNNING |
| 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, getBehaviourName, getDataStore, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CeckAgencyEmployees
public CeckAgencyEmployees(AgencyManager myAgent)
action
public void action()