| |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Task | |
fipaos.agent | |
fipaos.agent.task | |
fipaos.agent.task.event | |
fipaos.platform | |
fipaos.platform.agentcities | |
fipaos.platform.ams | |
fipaos.platform.df | |
fipaos.skill.wrapper | |
fipaos.test.agent |
Uses of Task in fipaos.agent |
Subclasses of Task in fipaos.agent | |
class | FIPAOSAgent.TopLevelHandlerTask |
Methods in fipaos.agent with parameters of type Task | |
void | FIPAOSAgent.notifyDone(Task child, String method, Object result) Default method invoked to dispatch done callbacks - override this with a method to dispatch the callback statically to improve efficiency :) |
void | FIPAOSAgent.notifyError(Task child, String method, Throwable error) Default method invoked to dispatch error callbacks - override this with a method to dispatch the callback statically to improve efficiency :) |
void | FIPAOSAgent.notifyTimeout(Task child, String method) Default method invoked to dispatch timeout callbacks - override this with a method to dispatch the callback statically to improve efficiency :) |
TaskManager | FIPAOSAgentComponentFactory.getTM(FIPAOSAgent agent, MessageSender ms, Task top_level_task, TaskManagerProfile tmp) Generates a TaskManager implementation |
TaskManager | StandardFIPAOSAgentComponentFactory.getTM(FIPAOSAgent agent, MessageSender ms, Task top_level_task, TaskManagerProfile tmp) Generates a TaskManager implementation |
Uses of Task in fipaos.agent.task |
Subclasses of Task in fipaos.agent.task | |
class | DFSearchTask This task class handles agent searches of DFs. |
class | SynchronousTask This task enables a Task to be started and its result to be captured by making a single method invocation |
class | WaitTask This task waits for a specified amount of time before invoking the done() method (and hence notifying its parent-task) |
Fields in fipaos.agent.task declared as Task | |
(package private) Task | Task._parent Reference to the "parent" Task of this. |
Constructors in fipaos.agent.task with parameters of type Task | |
TaskManager.TaskManager(FIPAOSAgent owner, MessageSender ms, Task top_level_parent, TaskManagerProfile tmp) Constructs an empty task manager. |
Methods in fipaos.agent.task with parameters of type Task | |
static Object | SynchronousTask.executeTask(TaskManager tm, Task t, long timeout) Executes the given Task, and returns the result - in the event that something unexpected happens, an object of type UnusualResult is returned The Task must not have been initialised WARNING: This method shouldn't be invoked from within the code for a Task! |
static Object | SynchronousTask.executeTask(TaskManager tm, Task t) Executes the given Task, and returns the result - in the event that something unexpected happens, an object of type UnusualResult is returned The Task must not have been initialised WARNING: This method shouldn't be invoked from within the code for a Task! |
(package private) void | SynchronousTask.notifyDone(Task child, Object result) Invokes the appropriate doneX(Object) method on this, given the child task |
(package private) void | SynchronousTask.notifyDone(Task child) Invokes the appropriate doneX() method on this, given the child task |
(package private) void | SynchronousTask.notifyError(Task child, Throwable error) Invoked by child-tasks to indicate that it has had an error |
(package private) void | SynchronousTask.notifyTimeout(Task child) Invokes the appropriate timeoutX() method on this, given the child task |
void | Task.errorDFSearchTask(Task t, Throwable exception) Callback method to indicate that a DFSearchTask has failed. |
(package private) void | Task.notifyDone(Task child, Object result) Invokes the appropriate doneX(Object) method on this, given the child task |
(package private) void | Task.notifyDone(Task child) Invokes the appropriate doneX() method on this, given the child task |
(package private) void | Task.notifyError(Task child, Throwable error) Invoked by child-tasks to indicate that it has had an error |
(package private) void | Task.notifyTimeout(Task child) Invokes the appropriate timeoutX() method on this, given the child task |
void | Task.timeoutDFSearchTask(Task t) Callback method to indicate that a DFSearchTask has failed. |
(package private) void | TaskManager.addEvent(Task task, TaskEvent event) Adds the given TaskEvent to the given Task, and informs the registered listener |
synchronized void | TaskManager.appendToExecutionOrder(Task t) Append a Task to the execution order (Tasks are executed in the order they are added to the execution order). |
void | TaskManager.DefaultTaskManagerListener.taskEvent(Task t, TaskEvent e) |
(package private) void | TaskManager.forward(Message msg, Task task) Sends a Message on behalf of the given Task. |
(package private) void | TaskManager.forward(ACL acl, Task task) Sends an ACL message on behalf of the given Task. |
void | TaskManager.newTask(Task task, Conversation conv, Task parent) Initializes a new child-task and adds it to the TaskManager. |
void | TaskManager.newTask(Task task, Conversation conv, long timeout, Task parent) Initializes a new "top-level" task and adds it to the TaskManager. |
void | TaskManager.newTask(Task task, Conversation conv, long timeout) Initialises the given task, and invokes its start() method. |
void | TaskManager.newTask(Task t, Conversation conv) Initializes a new "top-level" task and adds it to the TaskManager. |
(package private) void | TaskManager.newTask(Task task, Task parent) Creates a new Task with the given parent |
void | TaskManager.newTask(Task t, String id) Initializes a new "top-level" task and adds it to the TaskManager. |
(package private) void | TaskManager.newTask(Task task, long timeout, Task parent) Initialises the given task, and invokes its start() method. |
void | TaskManager.newTask(Task task, long timeout) Initialises the given task, and invokes its start() method. |
void | TaskManager.newTask(Task task) Initializes a new "top-level" task and adds it to the TaskManager. |
void | TaskManager.newTask(String name, Task task, Conversation conv, Task parent) Initializes a new child-task and adds it to the TaskManager. |
void | TaskManager.newTask(String name, Task task, Conversation conv) Initializes a new child-task and adds it to the TaskManager. |
(package private) void | TaskManager.newTask(String name, Task task, Task parent) Creates a new Task with the given parent and the given alternate Task name |
void | TaskManager.newTask(String name, Task task) Creates a new Task with the top level handler task as parent and the given alternate Task name |
boolean | TaskManager.removeTask(Task task) Removes a task object from the manager. |
void | TaskManagerListener.taskEvent(Task task, TaskEvent event) Invoked when a new TaskEvent is generated within the TaskManager |
void | WaitTask.timeoutWaitTask_DummyTask(Task t) Invoked when timeout occurs |
Uses of Task in fipaos.agent.task.event |
Constructors in fipaos.agent.task.event with parameters of type Task | |
ChildDoneEvent.ChildDoneEvent(Task child) Creates the event indicating that the given Task is the completed child Task | |
ChildDoneWithResultEvent.ChildDoneWithResultEvent(Task child, Object result) Creates the event, indicating that the given child-Task has completed and the result | |
ChildFailureEvent.ChildFailureEvent(Task child, Throwable reason) Create event | |
ChildTimeoutEvent.ChildTimeoutEvent(Task child) Create event |
Methods in fipaos.agent.task.event that return Task | |
Task | ChildDoneEvent.getChildTask() Returns the child-Task associated with this event |
Task | ChildFailureEvent.getChildTask() Get the child-Task that has failed |
Task | ChildTimeoutEvent.getChildTask() Get the child-Task that has timed-out |
Uses of Task in fipaos.platform |
Subclasses of Task in fipaos.platform | |
class | AgentManagementSystem.IdleTask |
class | DirectoryFacilitator.IdleTask |
Methods in fipaos.platform with parameters of type Task | |
void | AgentManagementSystem.IdleTask.doneDeregisterTask(Task t) |
void | AgentManagementSystem.IdleTask.doneGetDescriptionTask(Task t) |
void | AgentManagementSystem.IdleTask.doneModifyTask(Task t) |
void | AgentManagementSystem.IdleTask.doneRegisterTask(Task t) |
void | AgentManagementSystem.IdleTask.doneSearchTask(Task t) |
void | AgentManagementSystem.IdleTask.errorDeregisterTask(Task task, Throwable t) |
void | AgentManagementSystem.IdleTask.errorGetDescriptionTask(Task task, Throwable t) |
void | AgentManagementSystem.IdleTask.errorModifyTask(Task task, Throwable t) |
void | AgentManagementSystem.IdleTask.errorRegisterTask(Task task, Throwable t) |
void | AgentManagementSystem.IdleTask.errorSearchTask(Task task, Throwable t) |
void | DirectoryFacilitator.IdleTask.doneDeregisterTask(Task t) |
void | DirectoryFacilitator.IdleTask.doneModifyTask(Task t) |
void | DirectoryFacilitator.IdleTask.doneRegisterTask(Task t) |
void | DirectoryFacilitator.IdleTask.doneSearchTask(Task t) |
void | DirectoryFacilitator.IdleTask.errorDeregisterTask(Task task, Throwable t) |
void | DirectoryFacilitator.IdleTask.errorModifyTask(Task task, Throwable t) |
void | DirectoryFacilitator.IdleTask.errorRegisterTask(Task task, Throwable t) |
void | DirectoryFacilitator.IdleTask.errorSearchTask(Task task, Throwable t) |
Uses of Task in fipaos.platform.agentcities |
Subclasses of Task in fipaos.platform.agentcities | |
class | PingAgent.IdleTask |
Uses of Task in fipaos.platform.ams |
Subclasses of Task in fipaos.platform.ams | |
class | AMSDeregistrationTask |
class | AMSRegistrationTask This class provides the ability for an Agent to register with the AMS. |
class | AMSTask TODO: Write a description of the class $Revision: 1.10 $ $Date: 2002/03/18 15:16:01 $ $Author: alastairduncan $ |
Uses of Task in fipaos.platform.df |
Subclasses of Task in fipaos.platform.df | |
class | DFDeregistrationTask |
class | DFListenerTask This Task provides a mechanism for listening to events occuring to a particular DF. |
class | DFModifyTask This task class handles df description modifications in the DFs. |
class | DFRegistrationTask This class provides the ability for an Agent to register with a DF. |
class | DFTask TODO: Write a description of the class $Revision: 1.10 $ $Date: 2002/03/18 15:16:04 $ $Author: alastairduncan $ |
class | StandardDFSubscriptionFactory.IdleTask |
class | 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. |
class | SubscriptionManagerTask This Task manages SubscriptionHandlerTask's within a DF |
Methods in fipaos.platform.df that return Task | |
Task | DFSubscriptionFactory.getIdleTask() This method needs to return the an idle task that can be set as the listener task for the DF GUI Agent |
Task | StandardDFSubscriptionFactory.getIdleTask() This method needs to return the an idle task that can be set as the listener task for the DF GUI Agent |
Methods in fipaos.platform.df with parameters of type Task | |
void | DFListenerManager.init(DFListener listener, AgentID df, Task idle_task) Initialises the DFListenerManager - should be invoked BEFORE newTask() is invoked on an instance of DFListenerManager |
void | DFListenerTask.init(DFListener listener, AgentID df, Task idle_task) Initialises the DFListenerManager - should be invoked BEFORE newTask() is invoked on an instance of DFListenerManager. |
DFListenerManager | DFSubscriptionFactory.getDFListenerManager(DFListener df_listener, AgentID df, Task idle_task) This method needs to return the DFListenerManager that is responsible for subscribing (used by DF GUIs). |
void | SearchTask.errorDFSearchTask(Task task, Throwable t) |
void | SearchTask.timeoutDFSearchTask(Task task) |
DFListenerManager | StandardDFSubscriptionFactory.getDFListenerManager(DFListener df_listener, AgentID df, Task idle_task) This method needs to return the DFListenerManager that is responsible for subscribing (used by DF GUIs). |
void | SubscriptionManagerTask.doneSubscriptionHandlerTask(Task t) Invoked when a SubscriptionHandlerTask completes (i.e. |
void | SubscriptionManagerTask.errorSubscriptionHandlerTask(Task t, Throwable th) Invoked when a SubscriptionHandlerTask fails for some reason - this causes the Task in question to be removed from the list of known SubscriptionHandlerTask's |
Uses of Task in fipaos.skill.wrapper |
Subclasses of Task in fipaos.skill.wrapper | |
class | FIPAWrapperTask This is a default implementation of a FIPA Wrapper. |
Uses of Task in fipaos.test.agent |
Subclasses of Task in fipaos.test.agent | |
class | MessageTimingAgent.IdleTask Simple Task to respond to incoming request messages, and just reply with an inform - it performs the minimum of work in doing so |
class | MessageTimingAgent.MessageTestTask Task to test message sending & timing |
class | MessageTimingAgent.TestingTask Task to carry out the actual job of testing |
class | TestAgent.IdleTask |
class | TestAgent.IdleTask |
Methods in fipaos.test.agent with parameters of type Task | |
void | MessageTimingAgent.TestingTask.timeoutMessageTimingAgent_MessageTestTask(Task t) |
| |||||||||
PREV NEXT | FRAMES NO FRAMES |