Package jade.domain.introspection
Class DeadAgent
- java.lang.Object
-
- jade.domain.introspection.DeadAgent
-
- All Implemented Interfaces:
Concept,Term,Event,Serializable,Serializable
public class DeadAgent extends Object implements Event
An introspection event, recording the death of an agent within the platform.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeadAgent()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIDgetAgent()Retrieve the value of theagentslot of this event, containing the agent identifier of the newly dead agent.BooleangetContainerRemoved()StringgetName()Retrieve the name of this event.ContainerIDgetWhere()Retrieve the value of thewhereslot of this event, containing the container identifier of the container where the newly dead agent was deployed.voidsetAgent(AID id)Set theagentslot of this event.voidsetContainerRemoved(Boolean cr)voidsetWhere(ContainerID id)Set thewhereslot of this event.
-
-
-
Field Detail
-
NAME
public static final String NAME
A string constant for the name of this event.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Retrieve the name of this event.
-
setWhere
public void setWhere(ContainerID id)
Set thewhereslot of this event.- Parameters:
id- The container identifier of the container where the newly dead agent was deployed.
-
getWhere
public ContainerID getWhere()
Retrieve the value of thewhereslot of this event, containing the container identifier of the container where the newly dead agent was deployed.- Returns:
- The value of the
whereslot, ornullif no value was set.
-
setAgent
public void setAgent(AID id)
Set theagentslot of this event.- Parameters:
id- The agent identifier of the newly dead agent.
-
getAgent
public AID getAgent()
Retrieve the value of theagentslot of this event, containing the agent identifier of the newly dead agent.- Returns:
- The value of the
agentslot, ornullif no value was set.
-
getContainerRemoved
public Boolean getContainerRemoved()
-
setContainerRemoved
public void setContainerRemoved(Boolean cr)
-
-