| |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Task | |
fipaos.agent | |
fipaos.agent.task | |
fipaos.agent.task.event | |
fipaos.platform | |
fipaos.platform.ams | |
fipaos.platform.df | |
fipaos.skill.wrapper |
Uses of Task in fipaos.agent |
Subclasses of Task in fipaos.agent | |
class | FIPAOSAgent.TopLevelHandlerTask |
class | TestAgent.IdleTask |
Methods in fipaos.agent with parameters of type Task | |
void | TestAgent.IdleTask.doneWaitTask(Task t) Invoked when its time to send a new message |
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 | TaskManager.TestTask1 |
class | TaskManager.TestTask2 |
class | TaskManager.TestTask3 |
class | TaskManager.TestTask4 |
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) 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(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. |
(package private) 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. |
(package private) 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. |
boolean | TaskManager.removeTask(Task task) Removes a task object from the manager. |
void | TaskManager.TestTask1.doneTaskManager_TestTask2(Task t) |
void | TaskManager.TestTask1.errorTaskManager_TestTask3(Task t, Throwable th) |
void | TaskManager.TestTask1.timeoutTaskManager_TestTask4(Task t) |
void | TaskManagerListener.taskEvent(Task task, TaskEvent event) Invoked when a new TaskEvent is generated within the TaskManager |
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.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.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.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.4 $ $Date: 2001/03/09 21:47:01 $ $Author: alantreadway $ |
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 | 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.6 $ $Date: 2001/03/09 21:47:01 $ $Author: alantreadway $ |
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 with parameters of type Task | |
void | SearchTask.errorDFSearchTask(Task task, Throwable t) |
void | SearchTask.timeoutDFSearchTask(Task task) |
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. |
| |||||||||
PREV NEXT | FRAMES NO FRAMES |