Package jade.domain.JADEAgentManagement
Class QueryAgentsOnLocation
- java.lang.Object
-
- jade.domain.JADEAgentManagement.QueryAgentsOnLocation
-
- All Implemented Interfaces:
AgentAction,Concept,ContentElement,Term,Serializable,Serializable
public class QueryAgentsOnLocation extends Object implements AgentAction
This class represents thequery-agents-on-locationaction of theJADE-agent-management ontology. This action can be requested to the JADE AMS to retrieve the list of agents running on a given container.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryAgentsOnLocation()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationgetLocation()Retrieve the value of thelocationslot of this event, containing the location for which the agent list is requested.voidsetLocation(Location loc)Set thelocationslot of this action.
-
-
-
Method Detail
-
setLocation
public void setLocation(Location loc)
Set thelocationslot of this action.- Parameters:
loc- The location for which the agent list is requested.
-
getLocation
public Location getLocation()
Retrieve the value of thelocationslot of this event, containing the location for which the agent list is requested.- Returns:
- The value of the
locationslot, ornullif no value was set.
-
-