Envelope
wraps an ACL message. Its constructor takes as a parameter the ACL message.Message
is a wrapper for the Envelope and the ACL object.DIAGNOSTICS
class provides the API for printing debugging messages to screen and file.FIPAOSAgent
is the class you will extend when implementing an agent.Task
class for each task you want. The important methods are:
newTask
: Initialises the given task.startTask
: is invoked mmediately after the task has been initialised by newTask()
.done
: When invoked, parent task will have the appropriate doneX()
method invoked.forward
: Sends a Message.handleX
: as in handleInform
. These methods must be overriden by your class.newTask
: Initialises the given task, and invokes its start
methodString
using a special encoding
language.This talk available at http://jmvidal.cse.sc.edu/talks/fipa-os/
Copyright © 2009 José M. Vidal
.
All rights reserved.
28 May 2002, 08:58AM