public class ResumedAgent 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 |
---|
ResumedAgent()
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 resumed
agent. |
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 resumed agent was deployed. |
void |
setAgent(AID id)
Set the
agent slot of this event. |
void |
setWhere(ContainerID id)
Set the
where slot of this event. |
public static final java.lang.String NAME
public ResumedAgent()
public java.lang.String getName()
public void setAgent(AID id)
agent
slot of this event.id
- The agent identifier of the newly resumed agent.public AID getAgent()
agent
slot of this
event, containing the agent identifier of the newly resumed
agent.agent
slot, or
null
if no value was set.public void setWhere(ContainerID id)
where
slot of this event.id
- The container identifier of the container where the
newly resumed agent was deployed.public ContainerID getWhere()
where
slot of this
event, containing the container identifier of the container
where the newly resumed agent was deployed.where
slot, or
null
if no value was set.