Uses of Class
jade.core.Agent

Packages that use Agent
jade.core This package contains the microkernel of JADE system. 
jade.core.behaviours This package is a subpackage of jade.core and contains the classes used to implement basic agent behaviours. 
jade.domain This package and its sub-packages contains FIPA specific agents and ontologies. 
jade.domain.introspection This package contains the definition of the ontology used by JADE for internal monitoring of the agent platform and running agents. 
jade.gui This package contains general purpose components that can be used to build Swing-based Graphical User Interfaces for JADE agents. 
jade.lang.acl This package contains the support for the FIPA Agent Communication Language (ACL) including the ACLMessage class, the parser, the encoder, and an helper class for representing templates of ACL messages. 
jade.proto This package contains role behaviours for FIPA standard protocols. 
jade.proto.states This package contains classes for common states of an interaction protocol, such as "waiting for a given message", "selecting between a number of alternatives", ... 
jade.wrapper Together with the classes jade.core.Profile and jade.core.Runtime this package provides support for the JADE in-process interface that allows external Java applications to use JADE as a kind of library and to launch the JADE Runtime from within the application itself. 
jade.wrapper.gateway This is a subpackage of jade.wrapper and contains a set of classes that enables a non-JADE application to issue commands to a JADE-based application. 
 

Uses of Agent in jade.core
 

Methods in jade.core that return Agent
 Agent AgentContainer.acquireLocalAgent(AID id)
           
 

Methods in jade.core with parameters of type Agent
 ServiceHelper Service.getHelper(Agent a)
          Get the helper for accessing this service.
 ServiceHelper BaseService.getHelper(Agent a)
          This should be properly implemented by the services that have helpers.
 void ServiceHelper.init(Agent a)
           
 

Uses of Agent in jade.core.behaviours
 

Fields in jade.core.behaviours declared as Agent
protected  Agent Behaviour.myAgent
          The agent this behaviour belongs to.
 

Methods in jade.core.behaviours with parameters of type Agent
 void WrapperBehaviour.setAgent(Agent a)
           
 void CompositeBehaviour.setAgent(Agent a)
          Associates this behaviour with the agent it belongs to.
 void Behaviour.setAgent(Agent a)
          Associates this behaviour with the agent it belongs to.
 

Constructors in jade.core.behaviours with parameters of type Agent
Behaviour(Agent a)
          Constructor with owner agent.
CompositeBehaviour(Agent a)
          This constructor sets the owner agent.
CyclicBehaviour(Agent a)
          This constructor sets the owner agent for this CyclicBehaviour.
FSMBehaviour(Agent a)
          This constructor sets the owner agent.
LoaderBehaviour(Agent a)
          Construct a LoaderBehaviour to be executed by a given agent.
LoaderBehaviour(Agent a, java.lang.ClassLoader cl)
          Construct a LoaderBehaviour to be executed by a given agent and that will use a given class loader to load behaviours whose code is not embedded in the LoadBehaviour request.
OneShotBehaviour(Agent a)
          This constructor sets the owner agent for this OneShotBehaviour.
OntologyServer(Agent a, Ontology onto, int performative)
           
OntologyServer(Agent a, Ontology onto, int[] performatives)
           
OntologyServer(Agent a, Ontology onto, int[] performatives, java.lang.Object serverDelegate)
           
OntologyServer(Agent a, Ontology onto, int performative, java.lang.Object serverDelegate)
           
ParallelBehaviour(Agent a, int endCondition)
          Construct a ParallelBehaviour setting the owner agent.
SequentialBehaviour(Agent a)
          This constructor sets the owner agent for this behaviour.
SerialBehaviour(Agent a)
          Create a new SerialBehaviour object and set the owner agent.
SimpleBehaviour(Agent a)
          This constructor sets the owner agent for this behaviour.
TickerBehaviour(Agent a, long period)
          Construct a TickerBehaviour that call its onTick() method every period ms.
WakerBehaviour(Agent a, java.util.Date wakeupDate)
          This method constructs the behaviour.
WakerBehaviour(Agent a, long timeout)
          This method constructs the behaviour.
 

Uses of Agent in jade.domain
 

Subclasses of Agent in jade.domain
 class df
           Standard Directory Facilitator agent.
 

Methods in jade.domain with parameters of type Agent
static ACLMessage DFService.createCancelMessage(Agent a, AID dfName, ACLMessage subscribe)
          Utility method that creates a suitable message to be used to CANCEL a subscription to a DF agent.
static ACLMessage DFService.createRequestMessage(Agent a, AID dfName, java.lang.String action, DFAgentDescription dfd, SearchConstraints constraints)
          Utility method that creates a suitable message to be used to REQUEST a DF agent to perform a given action of the FIPA-Management-ontology.
static ACLMessage DFService.createSubscriptionMessage(Agent a, AID dfName, DFAgentDescription template, SearchConstraints constraints)
          Utility method that creates a suitable message to be used to SUBSCRIBE to a DF agent in order to receive notifications when a new DF-Description matching the indicated template is registererd with that DF.
static void DFService.deregister(Agent a)
          Deregisters a DFAgentDescription from the default DF.
static void AMSService.deregister(Agent a)
          A default AMSAgentDescription is used for this agent, where only AID and state are set.
static void DFService.deregister(Agent a, AID dfName)
          A default Agent Description is used which contains only the AID of this agent.
static void AMSService.deregister(Agent a, AID AMSName)
          A default AMSAgentDescription is used for this agent, where only AID and state are set (state is set to ACTIVE).
static void AMSService.deregister(Agent a, AID AMSName, AMSAgentDescription amsd)
          Deregister a AMSAgentDescription from a AMS agent.
static void DFService.deregister(Agent a, AID dfName, DFAgentDescription dfd)
          Deregister a DFAgentDescription from a DF agent.
static void AMSService.deregister(Agent a, AMSAgentDescription amsd)
          The AID of the AMS is defaulted to the AMS of this platform.
static void DFService.deregister(Agent a, DFAgentDescription dfd)
          Deregisters a DFAgentDescription from the default DF
static ACLMessage FIPAService.doFipaRequestClient(Agent a, ACLMessage request)
          This method plays the initiator role in the Fipa-Request interaction protocol and performs all the steps of the protocol.
static ACLMessage FIPAService.doFipaRequestClient(Agent a, ACLMessage request, long timeout)
          This method plays the initiator role in the Fipa-Request interaction protocol and performs all the steps of the protocol, and additionally sets a conversation timeout.
static AID AMSService.getFailedReceiver(Agent a, ACLMessage failure)
          Extracts the receiver a message could not be delivered to from a FAILURE message received by the AMS.
static java.lang.String AMSService.getFailureReason(Agent a, ACLMessage failure)
           
static RequestFIPAServiceBehaviour DFService.getNonBlockingBehaviour(Agent a, AID dfName, java.lang.String actionName)
          Deprecated. Use AchieveREInitiator instead
static RequestFIPAServiceBehaviour AMSService.getNonBlockingBehaviour(Agent a, AID amsName, java.lang.String actionName)
          the default SearchContraints are used.
static RequestFIPAServiceBehaviour AMSService.getNonBlockingBehaviour(Agent a, AID amsName, java.lang.String actionName, AMSAgentDescription amsd)
          the default AMS is used.
static RequestFIPAServiceBehaviour AMSService.getNonBlockingBehaviour(Agent a, AID AMSName, java.lang.String actionName, AMSAgentDescription amsd, SearchConstraints constraints)
          In some cases it is more convenient to execute this tasks in a non-blocking way.
static RequestFIPAServiceBehaviour DFService.getNonBlockingBehaviour(Agent a, AID dfName, java.lang.String actionName, DFAgentDescription dfd)
          Deprecated. Use AchieveREInitiator instead
static RequestFIPAServiceBehaviour DFService.getNonBlockingBehaviour(Agent a, AID dfName, java.lang.String actionName, DFAgentDescription dfd, SearchConstraints constraints)
          Deprecated. Use AchieveREInitiator instead
static RequestFIPAServiceBehaviour DFService.getNonBlockingBehaviour(Agent a, java.lang.String actionName)
          Deprecated. Use AchieveREInitiator instead
static RequestFIPAServiceBehaviour AMSService.getNonBlockingBehaviour(Agent a, java.lang.String actionName)
          the default AMS is used.
static RequestFIPAServiceBehaviour AMSService.getNonBlockingBehaviour(Agent a, java.lang.String actionName, AMSAgentDescription amsd)
          the default AMS is used.
static RequestFIPAServiceBehaviour AMSService.getNonBlockingBehaviour(Agent a, java.lang.String actionName, AMSAgentDescription amsd, SearchConstraints constraints)
          the default AMS is used.
static RequestFIPAServiceBehaviour DFService.getNonBlockingBehaviour(Agent a, java.lang.String actionName, DFAgentDescription dfd)
          Deprecated. Use AchieveREInitiator instead
static RequestFIPAServiceBehaviour DFService.getNonBlockingBehaviour(Agent a, java.lang.String actionName, DFAgentDescription dfd, SearchConstraints constraints)
          Deprecated. Use AchieveREInitiator instead
static ACLMessage DFService.getSubscriptionMessage(Agent a, AID dfName, DFAgentDescription template, SearchConstraints constraints)
          Deprecated. Use createSubscriptionMessage() instead
static void DFService.keepRegistered(Agent a, AID df, DFAgentDescription dfd, java.util.Date deadline)
          Add a suitable behaviour that ensures that a DF-Description currently registered with a DF is kept registered until a given deadline.
static void AMSService.modify(Agent a, AID AMSName, AMSAgentDescription amsd)
          Modifies data contained within a AMS agent.
static DFAgentDescription DFService.modify(Agent a, AID dfName, DFAgentDescription dfd)
          Modifies a previously registered DF-Description within a DF agent.
static void AMSService.modify(Agent a, AMSAgentDescription amsd)
          The AID of the AMS is defaulted to the AMS of this platform.
static DFAgentDescription DFService.modify(Agent a, DFAgentDescription dfd)
          Modify a DFAgentDescription from the default DF.
static void AMSService.register(Agent a, AID AMSName, AMSAgentDescription amsd)
          Register a AMSAgentDescription with a AMS agent.
static DFAgentDescription DFService.register(Agent a, AID dfName, DFAgentDescription dfd)
          Register a new DF-Description with a DF agent.
static void AMSService.register(Agent a, AMSAgentDescription amsd)
          registers a AMSAgentDescription with the default AMS
static DFAgentDescription DFService.register(Agent a, DFAgentDescription dfd)
          Registers a DFAgentDescription with the default DF
static AMSAgentDescription[] AMSService.search(Agent a, AID AMSName, AMSAgentDescription amsd)
          searches with the passed AMS by using the default SearchConstraints.
static AMSAgentDescription[] AMSService.search(Agent a, AID AMSName, AMSAgentDescription amsd, SearchConstraints constraints)
          Searches for data contained within a AMS agent.
static DFAgentDescription[] DFService.search(Agent a, AID dfName, DFAgentDescription dfd)
          The default SearchConstraints are used.
static DFAgentDescription[] DFService.search(Agent a, AID dfName, DFAgentDescription dfd, SearchConstraints constraints)
          Searches for data contained within a DF agent.
static AMSAgentDescription[] AMSService.search(Agent a, AMSAgentDescription amsd)
          searches with the default AMS and the default SearchConstraints.
static AMSAgentDescription[] AMSService.search(Agent a, AMSAgentDescription amsd, SearchConstraints constraints)
          searches with the default AMS
static DFAgentDescription[] DFService.search(Agent a, DFAgentDescription dfd)
          The default DF is used.
static DFAgentDescription[] DFService.search(Agent a, DFAgentDescription dfd, SearchConstraints constraints)
          The default DF is used.
static DFAgentDescription[] DFService.searchUntilFound(Agent a, AID dfName, DFAgentDescription dfd, SearchConstraints constraints, long timeout)
          Searches the DF and remains blocked until a result is found or the specified timeout has expired.
 

Uses of Agent in jade.domain.introspection
 

Constructors in jade.domain.introspection with parameters of type Agent
IntrospectionServer(Agent a)
           
 

Uses of Agent in jade.gui
 

Subclasses of Agent in jade.gui
 class jade.gui.GuiAgent
          When a program instantiates a GUI, the Java programming language starts a new thread, different from the Agent thread.
 

Uses of Agent in jade.lang.acl
 

Fields in jade.lang.acl declared as Agent
protected  Agent ConversationList.myAgent
           
 

Constructors in jade.lang.acl with parameters of type Agent
ConversationList(Agent a)
          Construct a ConversationList to be used inside a given agent.
 

Uses of Agent in jade.proto
 

Constructors in jade.proto with parameters of type Agent
AchieveREInitiator(Agent a, ACLMessage msg)
          Construct an AchieveREInitiator with an empty DataStore
AchieveREInitiator(Agent a, ACLMessage msg, DataStore store)
          Construct an AchieveREInitiator with a given DataStore
AchieveREResponder(Agent a, MessageTemplate mt)
          Constructor of the behaviour that creates a new empty DataStore
AchieveREResponder(Agent a, MessageTemplate mt, DataStore store)
          Constructor.
ContractNetInitiator(Agent a, ACLMessage cfp)
          Constructor for the class that creates a new empty DataStore
ContractNetInitiator(Agent a, ACLMessage cfp, DataStore store)
          Constructs a ContractNetInitiator behaviour
ContractNetResponder(Agent a, MessageTemplate mt)
          Constructor of the behaviour that creates a new empty DataStore
ContractNetResponder(Agent a, MessageTemplate mt, DataStore store)
          Constructor of the behaviour.
IteratedAchieveREInitiator(Agent a, ACLMessage msg)
          Construct an IteratedAchieveREInitiator with an empty DataStore
IteratedAchieveREInitiator(Agent a, ACLMessage msg, DataStore store)
          Construct an IteratedAchieveREInitiator with a given DataStore
ProposeInitiator(Agent a, ACLMessage msg)
          Construct a ProposeInitiator with an empty DataStore
ProposeInitiator(Agent a, ACLMessage initiation, DataStore store)
          Construct a ProposeInitiator with a given DataStore
ProposeResponder(Agent a, MessageTemplate mt)
          Constructor of the behaviour that creates a new empty DataStore
ProposeResponder(Agent a, MessageTemplate mt, DataStore store)
          Constructor.
SimpleAchieveREInitiator(Agent a, ACLMessage msg)
          Construct for the class by creating a new empty DataStore
SimpleAchieveREInitiator(Agent a, ACLMessage msg, DataStore store)
          Constructs a SimpleAchieveREInitiator behaviour
SimpleAchieveREResponder(Agent a, MessageTemplate mt)
          Constructor of the behaviour that creates a new empty DataStore
SimpleAchieveREResponder(Agent a, MessageTemplate mt, DataStore store)
          Constructor.
SSContractNetResponder(Agent a, ACLMessage cfp)
          Construct a SSContractNetResponder that is activated by the reception of a given initiation CFP message.
SSContractNetResponder(Agent a, ACLMessage cfp, DataStore store)
          Construct a SSContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.
SSIteratedAchieveREResponder(Agent a, ACLMessage request)
          Construct a SSIteratedAchieveREResponder that is activated by the reception of a given initiation REQUEST message.
SSIteratedAchieveREResponder(Agent a, ACLMessage request, DataStore store)
          Construct a SSIteratedAchieveREResponder that is activated by the reception of a given initiation REQUEST message and uses a given DataStore.
SSIteratedContractNetResponder(Agent a, ACLMessage cfp)
           
SSIteratedContractNetResponder(Agent a, ACLMessage cfp, DataStore store)
          Construct a SSIteratedContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.
SSResponderDispatcher(Agent a, MessageTemplate tpl)
           
SubscriptionInitiator(Agent a, ACLMessage msg)
          Construct a SubscriptionInitiator with an empty DataStore
SubscriptionInitiator(Agent a, ACLMessage msg, DataStore store)
          Construct a SubscriptionInitiator with a given DataStore
SubscriptionResponder(Agent a, MessageTemplate mt)
          Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template.
SubscriptionResponder(Agent a, MessageTemplate mt, SubscriptionResponder.SubscriptionManager sm)
          Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template and notifies a given SubscriptionManager about subscription/un-subscription events.
SubscriptionResponder(Agent a, MessageTemplate mt, SubscriptionResponder.SubscriptionManager sm, DataStore store)
          Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template, notifies a given SubscriptionManager about subscription/un-subscription events and uses a given DataStore.
TwoPh0Initiator(Agent a, ACLMessage cfp, java.lang.String outputKey)
          Constructs a TwoPh0Initiator behaviour.
TwoPh0Initiator(Agent a, ACLMessage cfp, java.lang.String outputKey, DataStore store)
          Constructs a TwoPh0Initiator behaviour.
TwoPh1Initiator(Agent a, ACLMessage queryIf, java.lang.String outputKey)
          Constructs a TwoPh1Initiator behaviour.
TwoPh1Initiator(Agent a, ACLMessage queryIf, java.lang.String outputKey, DataStore store)
          Constructs a TwoPh1Initiator behaviour.
TwoPh2Initiator(Agent a, ACLMessage acceptance)
          Constructs a TwoPh2Initiator behaviour.
TwoPh2Initiator(Agent a, ACLMessage acceptance, DataStore store)
          Constructs a TwoPh2Initiator behaviour.
TwoPhInitiator(Agent a, ACLMessage cfp)
          Constructs a TwoPhInitiator behaviour.
TwoPhInitiator(Agent a, ACLMessage cfp, DataStore ds)
          Constructs a TwoPhInitiator behaviour.
TwoPhResponder(Agent a, MessageTemplate mt)
          Constructor of the behaviour that creates a new empty DataStore
TwoPhResponder(Agent a, MessageTemplate mt, DataStore store)
          Constructor of the behaviour.
 

Uses of Agent in jade.proto.states
 

Methods in jade.proto.states with parameters of type Agent
static void ReplySender.adjustReply(Agent myAgent, ACLMessage reply, ACLMessage msg)
          Adjust all protocol fields and receivers in a reply to a given message.
 

Constructors in jade.proto.states with parameters of type Agent
HandlerSelector(Agent a, DataStore s, java.lang.Object accessKey)
          Constructor for this HandlerSelector.
MsgReceiver(Agent a, MessageTemplate mt, long deadline, DataStore s, java.lang.Object msgKey)
          Constructor.
ReplySender(Agent a, java.lang.String replyKey, java.lang.String msgKey)
          Constructor.
ReplySender(Agent a, java.lang.String replyKey, java.lang.String msgKey, DataStore ds)
          Constructor.
 

Uses of Agent in jade.wrapper
 

Methods in jade.wrapper with parameters of type Agent
 AgentController ContainerController.acceptNewAgent(java.lang.String nickname, Agent anAgent)
          Add an Agent to this container.
 

Uses of Agent in jade.wrapper.gateway
 

Subclasses of Agent in jade.wrapper.gateway
 class GatewayAgent
          This agent is the gateway able to execute all commands requests received via JadeGateway.
 



These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions