public class QueryAgentsOnLocation extends java.lang.Object implements AgentAction
query-agents-on-location
action of
the JADE-agent-management ontology
.
This action can be requested to the JADE AMS to retrieve the list
of agents running on a given container.Constructor and Description |
---|
QueryAgentsOnLocation()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Location |
getLocation()
Retrieve the value of the
location slot of this
event, containing the location for which the agent list is
requested. |
void |
setLocation(Location loc)
Set the
location slot of this action. |
public QueryAgentsOnLocation()
public void setLocation(Location loc)
location
slot of this action.loc
- The location for which the agent list is requested.public Location getLocation()
location
slot of this
event, containing the location for which the agent list is
requested.location
slot, or
null
if no value was set.