public class DeadAgent extends java.lang.Object implements Event
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
A string constant for the name of this event.
|
Constructor and Description |
---|
DeadAgent()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
AID |
getAgent()
Retrieve the value of the
agent slot of this
event, containing the agent identifier of the newly dead agent. |
java.lang.Boolean |
getContainerRemoved() |
java.lang.String |
getName()
Retrieve the name of this event.
|
ContainerID |
getWhere()
Retrieve the value of the
where slot of this
event, containing the container identifier of the container
where the newly dead agent was deployed. |
void |
setAgent(AID id)
Set the
agent slot of this event. |
void |
setContainerRemoved(java.lang.Boolean cr) |
void |
setWhere(ContainerID id)
Set the
where slot of this event. |
public static final java.lang.String NAME
public DeadAgent()
public java.lang.String getName()
public void setWhere(ContainerID id)
where
slot of this event.id
- The container identifier of the container where the
newly dead agent was deployed.public ContainerID getWhere()
where
slot of this
event, containing the container identifier of the container
where the newly dead agent was deployed.where
slot, or
null
if no value was set.public void setAgent(AID id)
agent
slot of this event.id
- The agent identifier of the newly dead agent.public AID getAgent()
agent
slot of this
event, containing the agent identifier of the newly dead agent.agent
slot, or
null
if no value was set.public java.lang.Boolean getContainerRemoved()
public void setContainerRemoved(java.lang.Boolean cr)