|
|||||||||
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.df.DFRegistrationTask
This class provides the ability for an Agent to register with a DF.
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 | |
DFRegistrationTask(AgentID df,
DFAgentDescription dfad)
Create a Task to register with the DF |
|
DFRegistrationTask(AgentID df,
java.lang.String type)
Create a Task to register with the DF |
|
DFRegistrationTask(DFAgentDescription dfad)
Create a Task to register with the DF |
|
DFRegistrationTask(java.lang.String type)
Create a Task to register with the DF, with the given service type & name |
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 DFRegistrationTask(java.lang.String type)
public DFRegistrationTask(AgentID df, java.lang.String type)
public DFRegistrationTask(DFAgentDescription dfad)
public DFRegistrationTask(AgentID df, DFAgentDescription dfad)
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 |