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 
fipaos.tutorial 
fipaos.tutorial.emarkets.agent 
fipaos.tutorial.emarkets.agent.buyer 
fipaos.tutorial.emarkets.agent.manager 
fipaos.tutorial.emarkets.agent.seller 
fipaos.tutorial.emarkets.escrow 
fipaos.tutorial.emarkets.negotiation 
fipaos.tutorial.emarkets.subscribe 

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.
(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.8 $ $Date: 2001/05/24 18:07:38 $ $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 DFModifyTask
          
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.9 $ $Date: 2001/04/04 22:48:19 $ $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.
 

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
          
 

Methods in fipaos.test.agent with parameters of type Task
voidMessageTimingAgent.TestingTask.timeoutMessageTimingAgent_MessageTestTask(Task t)
          
 

Uses of Task in fipaos.tutorial
 

Subclasses of Task in fipaos.tutorial
class FactorialAgent.IdleTask
          
class PingAgent.IdleTask
          On creation, spawns a DFSearchTask instance with the intent of locating other PingAgent instances on the local Agent platform.
class PingAgent.PingAllTask
          This Task takes care of the process of spawning individual PingTask instances.
class PingAgent.PingResponseTask
          This task simply responds to an incoming "ping request".
class PingAgent.PingTask
          This Task takes care of the process sending ping messages and waiting for a response to/from another PingAgent2
 

Methods in fipaos.tutorial with parameters of type Task
voidPingAgent.IdleTask.donePingAgent_PingAllTask(Task t)
          This method is dynamically invoked when a PingAllTask completes its task.
voidPingAgent.IdleTask.donePingAgent_PingResponseTask(Task t)
          This method is dynamically invoked when a PingResponseTask completes its task.
voidPingAgent.IdleTask.doneWaitTask(Task t)
          Invoked when a WaitTask "completes" (i.e.
voidPingAgent.PingAllTask.errorPingAgent_PingTask(Throwable th, Task t)
          Invoked when a PingTask sub-task has an error during its "initialisation" (i.e.
voidPingAgent.PingAllTask.timeoutPingAgent_PingTask(Task t)
          Invoked when a PingTask times-out - this is bad because it generally means we haven't receieved a response fron the target PingAgent2
voidSearchAgent.doneSearchAgent_SearchTask(Task t)
          This method is invoked when the SearchTask completes (i.e.
 

Uses of Task in fipaos.tutorial.emarkets.agent
 

Subclasses of Task in fipaos.tutorial.emarkets.agent
class EmarketsTimerTask
          This task waits for a specified amount of time before invoking the done() method (and hence notifying its parent-task)
 

Methods in fipaos.tutorial.emarkets.agent with parameters of type Task
voidSubscribingAgent.doneFIPASubscribeInitiatorHandlerTask(Task t)
          Callback method that is invoked when the task used to make subscriptions has finished.
 

Uses of Task in fipaos.tutorial.emarkets.agent.buyer
 

Methods in fipaos.tutorial.emarkets.agent.buyer with parameters of type Task
voidBuyerAgent.doneEscrowProtocolInitiatorHandlerTask(Task t)
          Callback method to notify the BuyerAgent that its interaction with the escrow agent has finished
 

Uses of Task in fipaos.tutorial.emarkets.agent.manager
 

Subclasses of Task in fipaos.tutorial.emarkets.agent.manager
class MarketManagerSuperDaemonTask
          
 

Methods in fipaos.tutorial.emarkets.agent.manager with parameters of type Task
voidMarketManagerAgent.doneEscrowProtocolParticipantHandlerTask(Task t)
          Callback method invoked when an escrow handling task has completed
voidMarketManagerSuperDaemonTask.doneEscrowProtocolDaemonTask(Task t)
          
voidMarketManagerSuperDaemonTask.doneFIPASubscribeDaemonTask(Task t)
          
 

Uses of Task in fipaos.tutorial.emarkets.agent.seller
 

Methods in fipaos.tutorial.emarkets.agent.seller with parameters of type Task
voidSellerAgent.doneEscrowProtocolInitiatorHandlerTask(Task t)
          Callback to indicate that the task used to communicate with the escrow agent has completed
voidSellerAgent.doneNegotiationProtocolInitiatorHandlerTask(Task t)
          Callback to signal that the negotiation task used to communicate with a buyer has completed
 

Uses of Task in fipaos.tutorial.emarkets.escrow
 

Subclasses of Task in fipaos.tutorial.emarkets.escrow
class EscrowProtocolDaemonTask
          
class EscrowProtocolInitiatorHandlerTask
          
class EscrowProtocolParticipantHandlerTask
          
 

Methods in fipaos.tutorial.emarkets.escrow with parameters of type Task
voidEscrowProtocolDaemonTask.doneEscrowProtocolParticipantHandlerTask(Task t)
          
 

Uses of Task in fipaos.tutorial.emarkets.negotiation
 

Subclasses of Task in fipaos.tutorial.emarkets.negotiation
class NegotiationProtocolDaemonTask
          
class NegotiationProtocolInitiatorHandlerTask
          
class NegotiationProtocolParticipantHandlerTask
          
 

Methods in fipaos.tutorial.emarkets.negotiation with parameters of type Task
voidNegotiationProtocolDaemonTask.doneNegotiationProtocolParticipantHandlerTask(Task t)
          
 

Uses of Task in fipaos.tutorial.emarkets.subscribe
 

Subclasses of Task in fipaos.tutorial.emarkets.subscribe
class FIPASubscribeDaemonTask
          
class FIPASubscribeInitiatorHandlerTask
          
class FIPASubscribeParticipantHandlerTask
          
 

Methods in fipaos.tutorial.emarkets.subscribe with parameters of type Task
voidFIPASubscribeDaemonTask.doneFIPASubscribeParticipantHandlerTask(Task t)