jade.domain.introspection
Class ResumedAgent

java.lang.Object
  |
  +--jade.domain.introspection.ResumedAgent
All Implemented Interfaces:
Concept, Event, Serializable, java.io.Serializable, Term

public class ResumedAgent
extends java.lang.Object
implements Event

An introspection event, recording the resumption of a formerly suspended agent within the platform.

Version:
$Date: 2003-11-19 17:04:37 +0100 (mer, 19 nov 2003) $ $Revision: 4567 $
Author:
Michele Tomaiuolo - Universita' di Parma
See Also:
Serialized Form

Field Summary
static java.lang.String NAME
          A string constant for the name of this event.
 
Constructor Summary
ResumedAgent()
          Default constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
A string constant for the name of this event.

See Also:
Constant Field Values
Constructor Detail

ResumedAgent

public ResumedAgent()
Default constructor. A default constructor is necessary for ontological classes.

Method Detail

getName

public java.lang.String getName()
Retrieve the name of this event.

Specified by:
getName in interface Event
Returns:
A constant value for the event name.

setAgent

public void setAgent(AID id)
Set the agent slot of this event.

Parameters:
id - The agent identifier of the newly resumed agent.

getAgent

public AID getAgent()
Retrieve the value of the agent slot of this event, containing the agent identifier of the newly resumed agent.

Returns:
The value of the agent slot, or null if no value was set.

setWhere

public void setWhere(ContainerID id)
Set the where slot of this event.

Parameters:
id - The container identifier of the container where the newly resumed agent was deployed.

getWhere

public 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.

Returns:
The value of the where slot, or null if no value was set.


JADE