static DFAgentDescription |
DFService.decodeDone(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(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(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 |
AMSService.deregister(Agent a) |
A default AMSAgentDescription is used for this agent, where only AID and state
are set.
|
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 |
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) |
Deregisters a DFAgentDescription from the default 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 |
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
|
protected void |
df.deregisterAction(Deregister d,
AID requester) |
Serve the Deregister action of the FIPA management ontology.
|
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.
|
DFAgentDescription |
DFGUIAdapter.getDFAgentDsc(AID name) |
This method returns the agent description of an agent registered with the DF given the agent name
|
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 String |
AMSService.getFailureReason(Agent a,
ACLMessage failure) |
|
ACLMessage |
RequestFIPAServiceBehaviour.getLastMsg() |
This public method allows to get the INFORM message received in the final
state of this FIPA-Request protocol.
|
static RequestFIPAServiceBehaviour |
AMSService.getNonBlockingBehaviour(Agent a,
AID amsName,
String actionName) |
the default SearchContraints are used.
|
static RequestFIPAServiceBehaviour |
AMSService.getNonBlockingBehaviour(Agent a,
AID amsName,
String actionName,
AMSAgentDescription amsd) |
the default AMS is used.
|
static RequestFIPAServiceBehaviour |
AMSService.getNonBlockingBehaviour(Agent a,
AID AMSName,
String actionName,
AMSAgentDescription amsd,
SearchConstraints constraints) |
In some cases it is more convenient to execute this tasks in a non-blocking way.
|
static RequestFIPAServiceBehaviour |
AMSService.getNonBlockingBehaviour(Agent a,
String actionName) |
the default AMS is used.
|
static RequestFIPAServiceBehaviour |
AMSService.getNonBlockingBehaviour(Agent a,
String actionName,
AMSAgentDescription amsd) |
the default AMS is used.
|
static RequestFIPAServiceBehaviour |
AMSService.getNonBlockingBehaviour(Agent a,
String actionName,
AMSAgentDescription amsd,
SearchConstraints constraints) |
the default AMS is used.
|
static RequestFIPAServiceBehaviour |
DFService.getNonBlockingBehaviour(Agent a,
AID dfName,
String actionName) |
Deprecated.
|
static RequestFIPAServiceBehaviour |
DFService.getNonBlockingBehaviour(Agent a,
AID dfName,
String actionName,
DFAgentDescription dfd) |
Deprecated.
|
static RequestFIPAServiceBehaviour |
DFService.getNonBlockingBehaviour(Agent a,
AID dfName,
String actionName,
DFAgentDescription dfd,
SearchConstraints constraints) |
Deprecated.
|
static RequestFIPAServiceBehaviour |
DFService.getNonBlockingBehaviour(Agent a,
String actionName) |
Deprecated.
|
static RequestFIPAServiceBehaviour |
DFService.getNonBlockingBehaviour(Agent a,
String actionName,
DFAgentDescription dfd) |
Deprecated.
|
static RequestFIPAServiceBehaviour |
DFService.getNonBlockingBehaviour(Agent a,
String actionName,
DFAgentDescription dfd,
SearchConstraints constraints) |
Deprecated.
|
List |
RequestFIPAServiceBehaviour.getSearchResult() |
Deprecated.
|
Object[] |
RequestFIPAServiceBehaviour.getSearchResults() |
This public method allows to get the results of a search operation.
|
static ACLMessage |
DFService.getSubscriptionMessage(Agent a,
AID dfName,
DFAgentDescription template,
SearchConstraints constraints) |
Deprecated.
|
protected KBIterator |
df.iteratedSearchAction(Search s,
AID requester) |
Serve a Search action of the FIPA management ontology requested
using an iterated-fipa-request protocol.
|
static void |
AMSService.modify(Agent a,
AID AMSName,
AMSAgentDescription amsd) |
Modifies data contained within a AMS
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,
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.
|
protected void |
df.modifyAction(Modify m,
AID requester) |
Serve the Modify action of the FIPA management ontology.
|
protected abstract ACLMessage |
RequestManagementBehaviour.performAction(Action slAction,
ACLMessage request) |
|
static void |
AMSService.register(Agent a,
AID AMSName,
AMSAgentDescription amsd) |
Register a AMSAgentDescription with a AMS agent.
|
static void |
AMSService.register(Agent a,
AMSAgentDescription amsd) |
registers a AMSAgentDescription with the default AMS
|
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
|
protected void |
df.registerAction(Register r,
AID requester) |
Serve the Register action of the FIPA management ontology.
|
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 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,
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.
|
protected List |
df.searchAction(Search s,
AID requester) |
Serve the Search action of the FIPA management ontology.
|
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.
|