Uses of Class
fipaos.agent.task.Task

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
voidTestAgent.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) TaskTask._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 ObjectSynchronousTask.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 ObjectSynchronousTask.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) voidSynchronousTask.notifyDone(Task child, Object result)
          Invokes the appropriate doneX(Object) method on this, given the child task
(package private) voidSynchronousTask.notifyDone(Task child)
          Invokes the appropriate doneX() method on this, given the child task
(package private) voidSynchronousTask.notifyError(Task child, Throwable error)
          Invoked by child-tasks to indicate that it has had an error
(package private) voidSynchronousTask.notifyTimeout(Task child)
          Invokes the appropriate timeoutX() method on this, given the child task
voidTask.errorDFSearchTask(Task t, Throwable exception)
          Callback method to indicate that a DFSearchTask has failed.
(package private) voidTask.notifyDone(Task child, Object result)
          Invokes the appropriate doneX(Object) method on this, given the child task
(package private) voidTask.notifyDone(Task child)
          Invokes the appropriate doneX() method on this, given the child task
(package private) voidTask.notifyError(Task child, Throwable error)
          Invoked by child-tasks to indicate that it has had an error
(package private) voidTask.notifyTimeout(Task child)
          Invokes the appropriate timeoutX() method on this, given the child task
voidTask.timeoutDFSearchTask(Task t)
          Callback method to indicate that a DFSearchTask has failed.
(package private) voidTaskManager.addEvent(Task task, TaskEvent event)
          Adds the given TaskEvent to the given Task, and informs the registered listener
synchronized voidTaskManager.appendToExecutionOrder(Task t)
          Append a Task to the execution order (Tasks are executed in the order they are added to the execution order).
voidTaskManager.DefaultTaskManagerListener.taskEvent(Task t, TaskEvent e)
          
(package private) voidTaskManager.forward(ACL acl, Task task)
          Sends an ACL message on behalf of the given Task.
voidTaskManager.newTask(Task task, Conversation conv, Task parent)
          Initializes a new child-task and adds it to the TaskManager.
voidTaskManager.newTask(Task task, Conversation conv, long timeout, Task parent)
          Initializes a new "top-level" task and adds it to the TaskManager.
(package private) voidTaskManager.newTask(Task task, Conversation conv, long timeout)
          Initialises the given task, and invokes its start() method.
voidTaskManager.newTask(Task t, Conversation conv)
          Initializes a new "top-level" task and adds it to the TaskManager.
(package private) voidTaskManager.newTask(Task task, Task parent)
          Creates a new Task with the given parent
voidTaskManager.newTask(Task t, String id)
          Initializes a new "top-level" task and adds it to the TaskManager.
(package private) voidTaskManager.newTask(Task task, long timeout, Task parent)
          Initialises the given task, and invokes its start() method.
(package private) voidTaskManager.newTask(Task task, long timeout)
          Initialises the given task, and invokes its start() method.
voidTaskManager.newTask(Task task)
          Initializes a new "top-level" task and adds it to the TaskManager.
booleanTaskManager.removeTask(Task task)
          Removes a task object from the manager.
voidTaskManager.TestTask1.doneTaskManager_TestTask2(Task t)
          
voidTaskManager.TestTask1.errorTaskManager_TestTask3(Task t, Throwable th)
          
voidTaskManager.TestTask1.timeoutTaskManager_TestTask4(Task t)
          
voidTaskManagerListener.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
TaskChildDoneEvent.getChildTask()
          Returns the child-Task associated with this event
TaskChildFailureEvent.getChildTask()
          Get the child-Task that has failed
TaskChildTimeoutEvent.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
voidAgentManagementSystem.IdleTask.doneDeregisterTask(Task t)
          
voidAgentManagementSystem.IdleTask.doneModifyTask(Task t)
          
voidAgentManagementSystem.IdleTask.doneRegisterTask(Task t)
          
voidAgentManagementSystem.IdleTask.doneSearchTask(Task t)
          
voidAgentManagementSystem.IdleTask.errorDeregisterTask(Task task, Throwable t)
          
voidAgentManagementSystem.IdleTask.errorModifyTask(Task task, Throwable t)
          
voidAgentManagementSystem.IdleTask.errorRegisterTask(Task task, Throwable t)
          
voidAgentManagementSystem.IdleTask.errorSearchTask(Task task, Throwable t)
          
voidDirectoryFacilitator.IdleTask.doneDeregisterTask(Task t)
          
voidDirectoryFacilitator.IdleTask.doneModifyTask(Task t)
          
voidDirectoryFacilitator.IdleTask.doneRegisterTask(Task t)
          
voidDirectoryFacilitator.IdleTask.doneSearchTask(Task t)
          
voidDirectoryFacilitator.IdleTask.errorDeregisterTask(Task task, Throwable t)
          
voidDirectoryFacilitator.IdleTask.errorModifyTask(Task task, Throwable t)
          
voidDirectoryFacilitator.IdleTask.errorRegisterTask(Task task, Throwable t)
          
voidDirectoryFacilitator.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
voidSearchTask.errorDFSearchTask(Task task, Throwable t)
          
voidSearchTask.timeoutDFSearchTask(Task task)
          
voidSubscriptionManagerTask.doneSubscriptionHandlerTask(Task t)
          Invoked when a SubscriptionHandlerTask completes (i.e.
voidSubscriptionManagerTask.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.