repserver
Class RepServer.CheckRepGroupTask

java.lang.Object
  |
  +--fipaos.agent.task.Task
        |
        +--repserver.RepServer.CheckRepGroupTask
Enclosing class:
RepServer

public class RepServer.CheckRepGroupTask
extends fipaos.agent.task.Task

Check a replicant group. Check that the active agent in the group is still reachable. If it is, do nothing. If it is not, select a new active agent.


Fields inherited from class fipaos.agent.task.Task
_children, _lock, _owner, _tm
 
Constructor Summary
RepServer.CheckRepGroupTask(RepGroup rg)
           
 
Method Summary
 void doneRepServer_ActivateTask(fipaos.agent.task.Task t)
          When an agree comes back, we are done
 RepGroup getGroup()
           
protected  void startTask()
          Check all the repgroups that they are active.
 void timeoutRepServer_ActivateTask(fipaos.agent.task.Task t)
           
 
Methods inherited from class fipaos.agent.task.Task
DFSearchResults, done, done, doneDFSearchTask, errorDFSearchTask, forward, forward, getContext, getNewConversation, getState, handleAcceptProposal, handleAgree, handleCfp, handleConfirm, handleDisconfirm, handleFailure, handleInform, handleInformIf, handleInformRef, handleLateMessage, handleNotUnderstood, handleOther, handlePropagate, handlePropose, handleProxy, handleQueryIf, handleQueryRef, handleRefuse, handleRejectProposal, handleRequest, handleRequestWhen, handleRequestWhenever, handleSubscribe, handleUndeliverableMessage, newTask, newTask, newTask, newTask, newTask, newTask, newTask, newTask, notify, notifyDone, notifyError, notifyMessageFailure, notifyMessageForEndedConversation, notifyTimeout, searchDF, searchDF, searchDF, searchDF, searchDF, sendNotUnderstood, setContext, timeoutDFSearchTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepServer.CheckRepGroupTask

public RepServer.CheckRepGroupTask(RepGroup rg)
Method Detail

getGroup

public RepGroup getGroup()

startTask

protected void startTask()
Check all the repgroups that they are active.
Overrides:
startTask in class fipaos.agent.task.Task

doneRepServer_ActivateTask

public void doneRepServer_ActivateTask(fipaos.agent.task.Task t)
When an agree comes back, we are done

timeoutRepServer_ActivateTask

public void timeoutRepServer_ActivateTask(fipaos.agent.task.Task t)