fipaos.platform.ams
Class SearchTask

fipaos.agent.task.Task
  |
  +--fipaos.platform.ams.AMSTask
        |
        +--fipaos.platform.ams.SearchTask

public class SearchTask
extends AMSTask

This class encapsulates the local search mechanisms of the AMS, and coordinates
federated searches where appropriate




Field Summary
 final static longFED_TIMEOUT
          Timeout in milliseconds for federated searches

Constructor Summary
SearchTask(Conversation conv, AgentManagementAction ama, Database db)
          This is the constructor for the SearchTask.

Method Summary
 voidstartTask()
          This is the initial method invoked by the task.

Methods inherited from class fipaos.agent.task.Task
doneDFSearchTask, endTask, errorDFSearchTask, getContext, getState, handleAcceptProposal, handleAgree, handleCfp, handleConfirm, handleDisconfirm, handleFailure, handleInform, handleInformIf, handleInformRef, handleLateMessage, handleNotUnderstood, handlePropagate, handlePropose, handleProxy, handleQueryIf, handleQueryRef, handleRefuse, handleRejectProposal, handleRequest, handleRequestWhen, handleRequestWhenever, handleSubscribe, handleUndeliverableMessage, notify, notifyMessageFailure, notifyMessageForEndedConversation, setContext, timeoutDFSearchTask

Field Detail

FED_TIMEOUT

public final static long FED_TIMEOUT
Timeout in milliseconds for federated searches
Constructor Detail

SearchTask

public SearchTask(Conversation conv, AgentManagementAction ama, Database db)
This is the constructor for the SearchTask.
Parameters:
conv - Conversation
ama - Agent Management Action
db - Database
Method Detail

startTask

public void startTask()
This is the initial method invoked by the task.

Association Links

to Class fipaos.ont.fipa.fipaman.AMSAgentDescription

AMSAgentDescription being used in the search

to Class java.util.Set

Results of search