Package | Description |
---|---|
jade.domain |
This package and its sub-packages contains FIPA specific
agents and ontologies.
|
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. |
DFAgentDescription |
df.getDescriptionOfThisDF()
This method returns the current description of this DF
|
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 DFAgentDescription |
DFService.modify(Agent a,
AID dfName,
DFAgentDescription dfd)
Modifies a previously registered DF-Description within a DF
agent.
|
static DFAgentDescription |
DFService.modify(Agent a,
DFAgentDescription dfd)
Modify a
DFAgentDescription from the default DF. |
static DFAgentDescription |
DFService.register(Agent a,
AID dfName,
DFAgentDescription dfd)
Register a new DF-Description with a DF agent.
|
static DFAgentDescription |
DFService.register(Agent a,
DFAgentDescription dfd)
Registers a
DFAgentDescription with the default DF |
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.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 | 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).
|
void |
DFSubscriber.afterFirstNotification(DFAgentDescription[] dfds) |
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,
DFAgentDescription dfd)
Deregister a DFAgentDescription from a DF agent.
|
static void |
DFService.deregister(Agent a,
DFAgentDescription dfd)
Deregisters a
DFAgentDescription from the default DF |
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,
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 DFAgentDescription |
DFService.modify(Agent a,
AID dfName,
DFAgentDescription dfd)
Modifies a previously registered DF-Description within a DF
agent.
|
static DFAgentDescription |
DFService.modify(Agent a,
DFAgentDescription dfd)
Modify a
DFAgentDescription from the default DF. |
abstract void |
DFSubscriber.onDeregister(DFAgentDescription dfad) |
abstract void |
DFSubscriber.onRegister(DFAgentDescription dfad) |
static DFAgentDescription |
DFService.register(Agent a,
AID dfName,
DFAgentDescription dfd)
Register a new DF-Description with a DF agent.
|
static DFAgentDescription |
DFService.register(Agent a,
DFAgentDescription dfd)
Registers a
DFAgentDescription with the default DF |
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.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.
|
protected void |
df.setDescriptionOfThisDF(DFAgentDescription dfd)
This method set the description of the df according to the DFAgentDescription passed.
|
Constructor and Description |
---|
DFSubscriber(Agent a,
DFAgentDescription template) |