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 long | FED_TIMEOUT Timeout in milliseconds for federated searches |
Method Summary |
void | startTask() 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 |
FED_TIMEOUT
public final static long FED_TIMEOUT
- Timeout in milliseconds for federated searches
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
startTask
public void startTask()
- This is the initial method invoked by the task.
to Class fipaos.ont.fipa.fipaman.AMSAgentDescription- AMSAgentDescription being used in the search
to Class java.util.Set
- Results of search