repserver
Class RepServer.UpdateRepGroupTask

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

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


Fields inherited from class fipaos.agent.task.Task
_children, _lock, _owner, _tm
 
Constructor Summary
RepServer.UpdateRepGroupTask(RepGroup rg)
          Constructor.
 
Method Summary
 void doneRepServer_UpdateAgentTask(java.lang.Object o)
          A UpdateAgentTask completes normally.
 void errorRepServer_UpdateAgentTask(java.lang.Throwable th, fipaos.agent.task.Task t)
           
 RepGroup getGroup()
           
protected  void startTask()
          For each agent in the replicant group, start a UpdateAgentTask.
 void timeoutRepServer_UpdateAgentTask(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.UpdateRepGroupTask

public RepServer.UpdateRepGroupTask(RepGroup rg)
Constructor.
Parameters:
rg - the replicant group to update. _count is set to the number of replicants in the group.
Method Detail

getGroup

public RepGroup getGroup()

startTask

protected void startTask()
For each agent in the replicant group, start a UpdateAgentTask.
Overrides:
startTask in class fipaos.agent.task.Task

doneRepServer_UpdateAgentTask

public void doneRepServer_UpdateAgentTask(java.lang.Object o)
A UpdateAgentTask completes normally. o is an RepAgentID object pointing to the agent updated.

timeoutRepServer_UpdateAgentTask

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

errorRepServer_UpdateAgentTask

public void errorRepServer_UpdateAgentTask(java.lang.Throwable th,
                                           fipaos.agent.task.Task t)