|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.agent.task.Task | +--fipaos.platform.ams.AMSRegistrationTask
This class provides the ability for an Agent to register with the AMS.
It provides two mechanisms for passing back its results. Either the Callback interface can be used by specifying an object which implements this interface, or a parent-task can check the results that are passed.
The results are of the form:
Fields inherited from class fipaos.agent.task.Task |
_children, _lock, _owner, _tm |
Constructor Summary | |
AMSRegistrationTask()
Create a Task to register with the AMS |
|
AMSRegistrationTask(AgentID ams)
Create a Task to register with the AMS |
|
AMSRegistrationTask(AgentID ams,
java.lang.String state)
Create a Task to register with the AMS |
|
AMSRegistrationTask(java.lang.String state)
Create a Task to register with the AMS |
Method Summary | |
void |
handleAgree(Conversation conv)
Deal with agree messages |
void |
handleFailure(Conversation conv)
Deal with failure messages |
void |
handleInform(Conversation conv)
Deal with failure messages |
void |
handleNotUnderstood(Conversation conv)
Deal with not-understood messages |
void |
handleRefuse(Conversation conv)
Deal with refuse messages |
void |
startTask()
Invoked when task starts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AMSRegistrationTask()
public AMSRegistrationTask(AgentID ams)
public AMSRegistrationTask(java.lang.String state)
public AMSRegistrationTask(AgentID ams, java.lang.String state)
Method Detail |
public void startTask()
startTask
in class Task
public void handleNotUnderstood(Conversation conv)
handleNotUnderstood
in class Task
public void handleRefuse(Conversation conv)
handleRefuse
in class Task
public void handleAgree(Conversation conv)
handleAgree
in class Task
public void handleFailure(Conversation conv)
handleFailure
in class Task
public void handleInform(Conversation conv)
handleInform
in class Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |