Package | Description |
---|---|
jade.content | |
jade.content.onto.basic | |
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.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).
|
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.domain.JADEAgentManagement |
This package contains the definition of the JADE-Agent-Management ontology, the
vocabulary with the list of used symbols, and all the Java classes that implement the concepts
of the ontology.
|
jade.domain.mobility |
This package contains the definition of the JADE-mobility ontology, the
vocabulary with the list of used symbols, and all the Java classes that implement the concepts
of the ontology.
|
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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
OntoAID
Utility class that allow using an
AID object
as an ontological concept. |
Modifier and Type | Method and Description |
---|---|
void |
OntoACLMessage.addReceiver(AID aid)
This method is redefined so that the receiver AID is automatically
wrapped into an OntoAID
|
void |
OntoACLMessage.addReplyTo(AID aid)
This method is redefined so that the replyTo AID is automatically
wrapped into an OntoAID
|
void |
OntoAID.addResolvers(AID aid)
This method is redefined so that resolvers AID are automatically
wrapped into OntoAIDs
|
void |
OntoACLMessage.setSender(AID aid)
This method is redefined so that the sender AID is automatically
wrapped into an OntoAID
|
static OntoAID |
OntoAID.wrap(AID id)
Create an ontological Agent identifier that wraps an existing
AID . |
Modifier and Type | Method and Description |
---|---|
AID |
Action.getActor() |
Modifier and Type | Method and Description |
---|---|
void |
Action.setActor(AID id) |
Constructor and Description |
---|
Action(AID id,
Concept a) |
Modifier and Type | Method and Description |
---|---|
AID[] |
AgentContainer.agentNames() |
AID |
Agent.getAID()
Method to query the private Agent ID.
|
AID |
Agent.getAID(java.lang.String name)
Method to build a complete agent GUID belonging to the same platform of the current agent
|
AID |
AgentContainer.getAMS() |
AID |
Agent.getAMS()
Get the Agent ID for the platform AMS.
|
AID |
PlatformID.getAmsAID() |
AID |
AgentContainer.getDefaultDF() |
AID |
Agent.getDefaultDF()
Get the Agent ID for the platform default DF.
|
AID[] |
AID.getResolversArray()
Returns an array containing all the AIDs of the resolvers.
|
Modifier and Type | Method and Description |
---|---|
Agent |
AgentContainer.acquireLocalAgent(AID id) |
void |
AID.addResolvers(AID aid)
This method permits to add the AID of a resolver (an agent where name
resolution services for the agent can be contacted)
|
boolean |
AgentContainer.isLocalAgent(AID id) |
void |
AgentContainer.releaseLocalAgent(AID id) |
boolean |
AID.removeResolvers(AID aid)
To remove a resolver.
|
void |
PlatformID.setAmsAID(AID amsAID) |
Constructor and Description |
---|
PlatformID(AID amsAID) |
Modifier and Type | Field and Description |
---|---|
protected AID |
ActionExecutor.actor |
Modifier and Type | Method and Description |
---|---|
AID |
ActionExecutor.getActualActor() |
protected AID |
ActionExecutor.retrieveActor() |
Modifier and Type | Method and Description |
---|---|
void |
ActionExecutor.setActor(AID actor) |
Constructor and Description |
---|
ActionExecutor(ActionT action,
Ontology ontology,
AID actor) |
Modifier and Type | Method and Description |
---|---|
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 AID |
FIPAService.parseAID(SimpleSLTokenizer parser)
The parser content has the form:
agent-identifier ......)
|
static AID |
DFService.parseAID(SimpleSLTokenizer parser)
The parser content has the form:
agent-identifier ......)
|
Modifier and Type | Method and Description |
---|---|
protected void |
df.addParent(AID dfName,
DFAgentDescription dfd)
This method can be used to add a parent (a DF this DF is federated with).
|
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,
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.
|
DFAgentDescription |
df.getDescriptionOfThisDF(AID parent)
This method returns the description of this df used to federate with the given parent
|
DFAgentDescription |
df.getDFAgentDsc(AID name)
This method returns the description of an agent registered with the DF.
|
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 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.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.
|
protected void |
df.removeParent(AID dfName)
this method can be used to remove a parent (a DF with which this DF is federated).
|
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 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 | Method and Description |
---|---|
AID |
Envelope.getFrom()
Retrieve the
from slot of this object. |
AID |
DFAgentDescription.getName()
Retrieve the agent identifier for the described agent.
|
AID |
AMSAgentDescription.getName()
Retrieve the
name slot of this object. |
Modifier and Type | Method and Description |
---|---|
void |
Envelope.addIntendedReceiver(AID id)
Add an agent identifier to the
intended-receiver
slot collection of this object. |
void |
Envelope.addTo(AID id)
Add an agent identifier to the
to slot collection
of this object. |
boolean |
Envelope.removeIntendedReceiver(AID id)
Remove an agent identifier from the
intended-receiver slot collection of this object. |
boolean |
Envelope.removeTo(AID id)
Remove an agent identifier from the
to slot
collection of this object. |
void |
Envelope.setFrom(AID id)
Set the
from slot of this object. |
void |
DFAgentDescription.setName(AID n)
Set the identifier of the agent
|
void |
AMSAgentDescription.setName(AID n)
Set the
name slot of this object. |
Modifier and Type | Method and Description |
---|---|
AID |
SuspendedAgent.getAgent()
Retrieve the value of the
agent slot of this
event, containing the agent identifier of the newly suspended
agent. |
AID |
ResumedAgent.getAgent()
Retrieve the value of the
agent slot of this
event, containing the agent identifier of the newly resumed
agent. |
AID |
MovedAgent.getAgent()
Retrieve the value of the
agent slot of this
event, containing the agent identifier of the newly moved agent. |
AID |
DeadAgent.getAgent()
Retrieve the value of the
agent slot of this
event, containing the agent identifier of the newly dead agent. |
AID |
BornAgent.getAgent()
Retrieve the value of the
agent slot of this
event, containing the agent identifier of the newly born agent. |
Modifier and Type | Method and Description |
---|---|
void |
SuspendedAgent.setAgent(AID id)
Set the
agent slot of this event. |
void |
ResumedAgent.setAgent(AID id)
Set the
agent slot of this event. |
void |
MovedAgent.setAgent(AID id)
Set the
agent slot of this event. |
void |
DeadAgent.setAgent(AID id)
Set the
agent slot of this event. |
void |
BornAgent.setAgent(AID id)
Set the
agent slot of this event. |
Constructor and Description |
---|
AMSSubscriber(AID ams)
Construct an AMSSubscriber behaviour to receive notifications about platform events
from the AMS of a remote platform.
|
Modifier and Type | Method and Description |
---|---|
AID |
KillAgent.getAgent()
Retrieve the value of the
agent slot of this
event, containing the agent identifier of the agent to
terminate. |
AID |
WhereIsAgentAction.getAgentIdentifier()
Retrieve the value of the
agent-identifier slot of
this action, containing the agent identifier for the agent
whose location is requested. |
Modifier and Type | Method and Description |
---|---|
void |
KillAgent.setAgent(AID id)
Set the
agent slot of this action. |
void |
WhereIsAgentAction.setAgentIdentifier(AID id)
Set the
agent-identifier slot of this action. |
Modifier and Type | Method and Description |
---|---|
AID |
MobileAgentDescription.getName()
Retrieve the value of the
name slot of this event,
containing the agent identifier of the described agent. |
Modifier and Type | Method and Description |
---|---|
void |
MobileAgentDescription.setName(AID id)
Set the
name slot of this action. |
Modifier and Type | Method and Description |
---|---|
AID |
StringACLCodec.decodeAID()
Parse an agent identifier, without it being included within an
ACL message.
|
static AID |
LEAPACLCodec.deserializeAID(java.io.DataInputStream dis) |
AID |
ACLMessage.getSender()
Reads
:sender slot. |
Modifier and Type | Method and Description |
---|---|
void |
ACLMessage.addReceiver(AID r)
Adds a value to
:receiver slot. |
void |
ACLMessage.addReplyTo(AID dest)
Adds a value to
:reply-to slot. |
static MessageTemplate |
MessageTemplate.MatchReceiver(AID[] values)
This Factory Method returns a message template that
matches any message with a given
:receiver slot. |
static MessageTemplate |
MessageTemplate.MatchReplyTo(AID[] values)
This Factory Method returns a message template that
matches any message with a given
:reply-to slot. |
static MessageTemplate |
MessageTemplate.MatchSender(AID value)
This Factory Method returns a message template that
matches any message with a given
:sender slot. |
static MessageTemplate |
MessageTemplate.MatchTopic(AID topic)
This Factory Method returns a message template that
matches any message about a given topic.
|
boolean |
ACLMessage.removeReceiver(AID r)
Removes a value from
:receiver
slot. |
boolean |
ACLMessage.removeReplyTo(AID dest)
Removes a value from
:reply_to
slot. |
static void |
LEAPACLCodec.serializeAID(AID id,
java.io.DataOutputStream dos) |
void |
ACLMessage.setSender(AID s)
Writes the
:sender slot. |
Modifier and Type | Method and Description |
---|---|
void |
SubscriptionInitiator.cancel(AID receiver,
boolean ignoreResponse)
Cancel the subscription to agent
receiver . |
void |
SubscriptionInitiator.cancellationCompleted(AID receiver)
This method should be called when the notification of a
successful subscription cancellation is received from agent
receiver to terminate the session with him. |
java.util.Vector |
SubscriptionResponder.getSubscriptions(AID subscriber)
Utility method that retrieves all Subscription-s done by a given agent
|
Modifier and Type | Method and Description |
---|---|
AID |
SplitJadeGateway.createAID(java.lang.String localName) |
AID |
DynamicJadeGateway.createAID(java.lang.String localName) |