it.polito.elite.doseWS.agency.behaviours
Class ScheduleNextProvidersRefresh

java.lang.Object
  extended byjade.core.behaviours.Behaviour
      extended byjade.core.behaviours.SimpleBehaviour
          extended byjade.core.behaviours.WakerBehaviour
              extended byit.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

Field Summary
 
Fields inherited from class jade.core.behaviours.Behaviour
STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
ScheduleNextProvidersRefresh(DOSEAgent agent, long period, java.lang.String serviceDescription, java.util.HashSet results)
          Base Constructor
 
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
 

Constructor Detail

ScheduleNextProvidersRefresh

public ScheduleNextProvidersRefresh(DOSEAgent agent,
                                    long period,
                                    java.lang.String serviceDescription,
                                    java.util.HashSet results)
Base Constructor

Parameters:
agent - The DOSEAgent scheduling this behaviour
period - Amount of millisec between two checking phases
serviceDescription - The description of the service exported by the searched agents
results - The collections where the AIDs are stored