|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.introspection.MovedAgent
public class MovedAgent
An introspection event, recording the migration of an agent within the platform.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
A string constant for the name of this event. |
| Constructor Summary | |
|---|---|
MovedAgent()
Default constructor. |
|
| Method Summary | |
|---|---|
AID |
getAgent()
Retrieve the value of the agent slot of this
event, containing the agent identifier of the newly moved agent. |
ContainerID |
getFrom()
Retrieve the value of the from slot of this event,
containing the container identifier of the container from where
the agent migrated. |
java.lang.String |
getName()
Retrieve the name of this event. |
ContainerID |
getTo()
Retrieve the value of the to slot of this
event, containing the container identifier of the container
where the agent migrated. |
void |
setAgent(AID id)
Set the agent slot of this event. |
void |
setFrom(ContainerID id)
Set the from slot of this event. |
void |
setTo(ContainerID id)
Set the to slot of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public MovedAgent()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Eventpublic void setAgent(AID id)
agent slot of this event.
id - The agent identifier of the newly moved agent.public AID getAgent()
agent slot of this
event, containing the agent identifier of the newly moved agent.
agent slot, or
null if no value was set.public void setFrom(ContainerID id)
from slot of this event.
id - The container identifier of the container from where
the agent migrated.public ContainerID getFrom()
from slot of this event,
containing the container identifier of the container from where
the agent migrated.
from slot, or
null if no value was set.public void setTo(ContainerID id)
to slot of this event.
id - The container identifier of the container where the
agent migrated.public ContainerID getTo()
to slot of this
event, containing the container identifier of the container
where the agent migrated.
to slot, or
null if no value was set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||