Package | Description |
---|---|
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.FIPAAgentManagement |
This package contains the definition of the FIPA-Agent-Management ontology
as specified by the FIPA standard
FIPA Agent Management
Specification - document no. 23 version H (15th August 2001).
|
Modifier and Type | Method and Description |
---|---|
protected AID |
ActionExecutor.retrieveActor() |
Modifier and Type | Method and Description |
---|---|
static DFAgentDescription |
DFService.decodeDone(java.lang.String s)
Process the content of the final
inform (Done) message
resulting from a register or deregister
action requested to a DF agent, extracting the
df-agent-description contained within. |
static DFAgentDescription[] |
DFService.decodeNotification(java.lang.String s)
Process the content of the
inform message resulting
from a subscription with a DF agent, extracting the array of
df-agent-description objects contained within. |
static DFAgentDescription[] |
DFService.decodeResult(java.lang.String s)
Process the content of the final
inform (result) message resulting
from a search action requested to a DF agent, extracting the array of
df-agent-description contained within. |
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.
|
DFAgentDescription |
df.getDFAgentDsc(AID name)
This method returns the description of an agent registered with the DF.
|
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 |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AlreadyRegistered |
class |
FailureException
This class represents a generic FailureException
|
class |
InternalError |
class |
MissingArgument |
class |
MissingParameter |
class |
NotRegistered |
class |
NotUnderstoodException |
class |
RefuseException
This class represents a generic RefuseException
|
class |
Unauthorised |
class |
UnexpectedAct |
class |
UnexpectedArgument |
class |
UnexpectedArgumentCount |
class |
UnexpectedParameter |
class |
UnrecognisedParameterValue |
class |
UnrecognisedValue |
class |
UnsupportedAct |
class |
UnsupportedFunction |
class |
UnsupportedValue |