public class WhereIsAgentAction extends java.lang.Object implements AgentAction
where-is-agent
action of
the JADE-agent-management ontology
.
This action can be requested to the JADE AMS to know the container
a given agent is currently running on.Constructor and Description |
---|
WhereIsAgentAction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
AID |
getAgentIdentifier()
Retrieve the value of the
agent-identifier slot of
this action, containing the agent identifier for the agent
whose location is requested. |
void |
setAgentIdentifier(AID id)
Set the
agent-identifier slot of this action. |
public WhereIsAgentAction()
public void setAgentIdentifier(AID id)
agent-identifier
slot of this action.id
- The agent identifier for the agent whose location is
requested.public AID getAgentIdentifier()
agent-identifier
slot of
this action, containing the agent identifier for the agent
whose location is requested.agent-identifier
slot, or
null
if no value was set.