|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.agent.task.Task | +--fipaos.agent.task.DFSearchTask
This task class handles agent searches of DFs.
Fields inherited from class fipaos.agent.task.Task |
_children, _lock, _owner, _tm |
Constructor Summary | |
DFSearchTask(DFAgentDescription desc)
Constructs the DF search task object which will perform a search using the given description |
|
DFSearchTask(DFAgentDescription df_desc,
boolean federated)
Searches the local platform DF for any agents matching the specified DF description. |
|
DFSearchTask(DFAgentDescription df_desc,
SearchConstraints constraints)
Searches the local platform DF for any agents matching the specified DF description using the specified search constraint. |
|
DFSearchTask(java.lang.String df,
DFAgentDescription df_desc,
boolean federated)
Searches the specified DF for any agents matching the specified DF description. |
|
DFSearchTask(java.lang.String df,
DFAgentDescription df_desc,
SearchConstraints constraints,
boolean federated)
Searches the specified DF for any agents matching the specified DF description using the specified search contraint. |
Method Summary | |
void |
handleAgree(Conversation conv)
Handles incoming agree messages. |
void |
handleFailure(Conversation conv)
Handles incoming failure messages. |
void |
handleInform(Conversation conv)
Handles incoming inform messages. |
void |
handleNotUnderstood(Conversation conv)
Handles incoming not-understood messages. |
void |
handleRefuse(Conversation conv)
Handles incoming refuse messages. |
boolean |
searchDF(DFAgentDescription df_desc)
Deprecated. Please use this task as a sub-task, rather than directly invoking methods on it. |
boolean |
searchDF(DFAgentDescription df_desc,
boolean federated)
Deprecated. Please use this task as a sub-task, rather than directly invoking methods on it. |
boolean |
searchDF(DFAgentDescription df_desc,
SearchConstraints constraint)
Deprecated. Please use this task as a sub-task, rather than directly invoking methods on it. |
boolean |
searchDF(java.lang.String df,
DFAgentDescription df_desc,
boolean federated)
Deprecated. Please use this task as a sub-task, rather than directly invoking methods on it. |
boolean |
searchDF(java.lang.String df,
DFAgentDescription df_desc,
SearchConstraints constraints,
boolean federated)
Deprecated. Please use this task as a sub-task, rather than directly invoking methods on it. |
protected void |
startTask()
Invoked when the task has started |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DFSearchTask(DFAgentDescription desc)
desc
- Description of the Agent to search forpublic DFSearchTask(DFAgentDescription df_desc, SearchConstraints constraints)
df_desc
- The DF description to search forconstraint
- The search constraintpublic DFSearchTask(DFAgentDescription df_desc, boolean federated)
df_desc
- The DF description to search forfederated
- Flag to signal whether this search should be federated or notpublic DFSearchTask(java.lang.String df, DFAgentDescription df_desc, boolean federated)
df
- The DF to searchdf_desc
- The DF description to search forfederated
- Flag to signal whether this search should be federated or notpublic DFSearchTask(java.lang.String df, DFAgentDescription df_desc, SearchConstraints constraints, boolean federated)
df
- The DF to searchdf_desc
- The DF description to search forconstraint
- The search constraintfederated
- Flag to signal whether this search should be federated or notMethod Detail |
protected void startTask()
startTask
in class Task
public void handleNotUnderstood(Conversation conv)
handleNotUnderstood
in class Task
conv
- The conversation containint the incoming messagepublic void handleRefuse(Conversation conv)
handleRefuse
in class Task
conv
- The conversation containint the incoming messagepublic void handleAgree(Conversation conv)
handleAgree
in class Task
conv
- The conversation containint the incoming messagepublic void handleFailure(Conversation conv)
handleFailure
in class Task
conv
- The conversation containint the incoming messagepublic void handleInform(Conversation conv)
handleInform
in class Task
conv
- The conversation containint the incoming messagepublic boolean searchDF(DFAgentDescription df_desc)
searchDF
in class Task
df_desc
- The DF description to search forpublic boolean searchDF(DFAgentDescription df_desc, SearchConstraints constraint)
searchDF
in class Task
df_desc
- The DF description to search forconstraint
- The search constraintpublic boolean searchDF(DFAgentDescription df_desc, boolean federated)
searchDF
in class Task
df_desc
- The DF description to search forfederated
- Flag to signal whether this search should be federated or notpublic boolean searchDF(java.lang.String df, DFAgentDescription df_desc, boolean federated)
searchDF
in class Task
df
- The DF to searchdf_desc
- The DF description to search forfederated
- Flag to signal whether this search should be federated or notpublic boolean searchDF(java.lang.String df, DFAgentDescription df_desc, SearchConstraints constraints, boolean federated)
searchDF
in class Task
df
- The DF to searchdf_desc
- The DF description to search forconstraint
- The search constraintfederated
- Flag to signal whether this search should be federated or not
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |