|
Constructor Summary | ||
DFService() |
Method Summary | ||
static jade.lang.acl.ACLMessage |
createCancelMessage(Agent a, jade.core.AID dfName, jade.lang.acl.ACLMessage subscribe) | |
static jade.lang.acl.ACLMessage |
createRequestMessage(Agent a, jade.core.AID dfName, String action, jade.domain.FIPAAgentManagement.DFAgentDescription dfd, jade.domain.FIPAAgentManagement.SearchConstraints constraints) | |
static jade.lang.acl.ACLMessage |
createSubscriptionMessage(Agent a, jade.core.AID dfName, jade.domain.FIPAAgentManagement.DFAgentDescription template, jade.domain.FIPAAgentManagement.SearchConstraints constraints) | |
static jade.domain.FIPAAgentManagement.DFAgentDescription |
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 jade.domain.FIPAAgentManagement.DFAgentDescription[] |
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 jade.domain.FIPAAgentManagement.DFAgentDescription[] |
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 |
deregister(Agent agent) | |
static void |
deregister(Agent agent, jade.domain.FIPAAgentManagement.DFAgentDescription dfd) | |
static jade.core.AID |
getDFAID() | |
static void |
initialize() Initializes the DF service. |
|
static jade.core.AID |
parseAID(jade.content.lang.sl.SimpleSLTokenizer parser) The parser content has the form: agent-identifier ......) |
|
static jade.domain.FIPAAgentManagement.DFAgentDescription |
register(Agent agent, jade.domain.FIPAAgentManagement.DFAgentDescription dfd) | |
static jade.domain.FIPAAgentManagement.DFAgentDescription[] |
search(Agent agent, jade.domain.FIPAAgentManagement.DFAgentDescription dfd) | |
static jade.domain.FIPAAgentManagement.DFAgentDescription[] |
search(Agent agent, jade.domain.FIPAAgentManagement.DFAgentDescription dfd, jade.domain.FIPAAgentManagement.SearchConstraints constraints) | |
protected static void |
setDFAID(jade.core.AID aid) |
Methods inherited from class sajas.domain.FIPAService |
doFipaRequestClient, doFipaRequestClient |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inform (Done)
message
resulting from a register
or deregister
action requested to a DF agent, extracting the
df-agent-description
contained within.DFAgentDescription
object included
in the "done" expression used as the content of the INFORM message
send back by the DF in response to a REQUEST to perform a register,
deregister or modify action.inform (result)
message resulting
from a search
action requested to a DF agent, extracting the array of
df-agent-description
contained within.DFAgentDescription
objects (as an array) included
in the "result" expression used as the content of the INFORM message
send back by the DF in response to a REQUEST to perform a search action.inform
message resulting
from a subscription with a DF agent, extracting the array of
df-agent-description
objects contained within.DFAgentDescription
objects (as an array) included
in the "(= (iota...) ...)" expression used as the content of an INFORM message
sent back by the DF as a subscription notification.
|