Uses of Class
fipaos.agent.task.Task

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
voidFIPAOSAgent.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 :)
voidFIPAOSAgent.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 :)
voidFIPAOSAgent.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 :)
TaskManagerFIPAOSAgentComponentFactory.getTM(FIPAOSAgent agent, MessageSender ms, Task top_level_task, TaskManagerProfile tmp)
          Generates a TaskManager implementation
TaskManagerStandardFIPAOSAgentComponentFactory.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) 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, TaskManagerProfile tmp)
          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(Message msg, Task task)
          Sends a Message on behalf of the given Task.
(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.
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.
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.
voidTaskManager.newTask(String name, Task task, Conversation conv, Task parent)
          Initializes a new child-task and adds it to the TaskManager.
voidTaskManager.newTask(String name, Task task, Conversation conv)
          Initializes a new child-task and adds it to the TaskManager.
(package private) voidTaskManager.newTask(String name, Task task, Task parent)
          Creates a new Task with the given parent and the given alternate Task name
voidTaskManager.newTask(String name, Task task)
          Creates a new Task with the top level handler task as parent and the given alternate Task name
booleanTaskManager.removeTask(Task task)
          Removes a task object from the manager.
voidTaskManagerListener.taskEvent(Task task, TaskEvent event)
          Invoked when a new TaskEvent is generated within the TaskManager
voidWaitTask.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
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.doneGetDescriptionTask(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.errorGetDescriptionTask(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.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
TaskDFSubscriptionFactory.getIdleTask()
          This method needs to return the an idle task that can be set
as the listener task for the DF GUI Agent
TaskStandardDFSubscriptionFactory.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
voidDFListenerManager.init(DFListener listener, AgentID df, Task idle_task)
          Initialises the DFListenerManager - should be invoked BEFORE newTask() is invoked on an instance of DFListenerManager
voidDFListenerTask.init(DFListener listener, AgentID df, Task idle_task)
          Initialises the DFListenerManager - should be invoked BEFORE
newTask() is invoked on an instance of DFListenerManager.
DFListenerManagerDFSubscriptionFactory.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).
voidSearchTask.errorDFSearchTask(Task task, Throwable t)
          
voidSearchTask.timeoutDFSearchTask(Task task)
          
DFListenerManagerStandardDFSubscriptionFactory.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).
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.
 

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
voidMessageTimingAgent.TestingTask.timeoutMessageTimingAgent_MessageTestTask(Task t)