| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
fipaos.agent.task.Task | +--fipaos.platform.df.SubscriptionHandlerTask
This Task provides a mechanism for informing subscribed Agents about the something
that has changed within the DF - DFListenerTask is the counterpart to this Task.
Currently this Task (and its counterpart) only support intra-platform communication
over a transport which maintains message content as objects (i.e. RMI).
Constructor Summary | |
SubscriptionHandlerTask(fipaos.ont.fipa.ACL msg) Creates a SubscribeAction - once the Task has started, it will attempt to "agree" and "inform" the subscribing Agent that the subscription has been started OK |
Method Summary | |
(package private) void | DFUpdate(AgentManagementAction ama) Invoked by the DF when the DF has something to propogate to its subscribed Agents |
void | handleCancel(Conversation conv) Invoked when agree messages are received - generally indicates that DF will allow us to subscribe |
void | handleNotUnderstood(Conversation conv) Deal with not-understood messages here |
void | startTask() Invoked when the Task starts - sends subscription message to target DF |
Constructor Detail |
public SubscriptionHandlerTask(fipaos.ont.fipa.ACL msg)
Method Detail |
void DFUpdate(AgentManagementAction ama)
public void handleCancel(Conversation conv)
public void handleNotUnderstood(Conversation conv)
public void startTask()
Association Links |
to Class java.lang.String
to Class fipaos.ont.proprietary.subscription.DFSubscriptionAction
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |