|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--fipaos.agent.task.Task
|
+--org.opencyc.cycagent.fipaos.FipaOsCommunityAdapter.RequestTask
Provides for the initiation and handling of a fipa-request conversation. This task is involked via a SynchronousTask wrapper and the result is returned via the done method.
| Fields inherited from class fipaos.agent.task.Task |
_children, _lock, _owner, _tm |
| Constructor Summary | |
FipaOsCommunityAdapter.RequestTask(fipaos.ont.fipa.ACL requestAcl)
Constructs a new RequestTask object given the request ACL. |
|
| Method Summary | |
void |
handleAgree(fipaos.agent.conversation.Conversation fipaRequest)
Handle the inform message which is part of the fipa-request conversation by doing nothing. |
void |
handleInform(fipaos.agent.conversation.Conversation fipaRequest)
Handle the inform message which is part of the RequestProtocol. |
void |
handleRequest(fipaos.agent.conversation.Conversation fipaRequest)
Handle the request message which is part of the fipa-request conversation by doing nothing. |
protected void |
startTask()
Starts this task and initiates the fipa-request conversation. |
| Methods inherited from class fipaos.agent.task.Task |
DFSearchResults, done, done, doneDFSearchTask, errorDFSearchTask, forward, forward, getContext, getNewConversation, getState, handleAcceptProposal, handleCfp, handleConfirm, handleDisconfirm, handleFailure, handleInformIf, handleInformRef, handleLateMessage, handleNotUnderstood, handleOther, handlePropagate, handlePropose, handleProxy, handleQueryIf, handleQueryRef, handleRefuse, handleRejectProposal, 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 |
public FipaOsCommunityAdapter.RequestTask(fipaos.ont.fipa.ACL requestAcl)
requestAcl - the request message Agent Communication Language| Method Detail |
protected void startTask()
startTask in class fipaos.agent.task.Taskpublic void handleRequest(fipaos.agent.conversation.Conversation fipaRequest)
handleRequest in class fipaos.agent.task.Taskpublic void handleAgree(fipaos.agent.conversation.Conversation fipaRequest)
handleAgree in class fipaos.agent.task.Taskpublic void handleInform(fipaos.agent.conversation.Conversation fipaRequest)
handleInform in class fipaos.agent.task.Task
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||