it.polito.elite.doseWS.agency.behaviours
Class ScheduleNextProvidersRefresh
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.WakerBehaviour
it.polito.elite.doseWS.agency.behaviours.ScheduleNextProvidersRefresh
- All Implemented Interfaces:
- java.io.Serializable, jade.util.leap.Serializable
- public class ScheduleNextProvidersRefresh
- extends jade.core.behaviours.WakerBehaviour
Title: ScheduleNextProvidersRefresh
Description: It schedules a new GetAgentProviders behaviour after a certain
amount of time, specified in the constructor
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.WakerBehaviour |
action, done, reset, reset |
| 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 |
ScheduleNextProvidersRefresh
public ScheduleNextProvidersRefresh(DOSEAgent agent,
long period,
java.lang.String serviceDescription,
java.util.HashSet results)
- Base Constructor
- Parameters:
agent - The DOSEAgent scheduling this behaviourperiod - Amount of millisec between two checking phasesserviceDescription - The description of the service exported by the searched agentsresults - The collections where the AIDs are stored