jade.core.event
Class ContainerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by jade.util.Event
          extended by jade.core.event.JADEEvent
              extended by jade.core.event.ContainerEvent
All Implemented Interfaces:
java.io.Serializable

public class ContainerEvent
extends JADEEvent

This class represents a container related event

Author:
Giovanni Caire - Telecom Italia
See Also:
Serialized Form

Field Summary
static int BORN_AGENT
           
static int DEAD_AGENT
           
static int LEADERSHIP_ACQUIRED
           
static int REATTACHED
           
static int RECONNECTED
           
 
Fields inherited from class jade.util.Event
type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ContainerEvent(int id, AID aid, ContainerID cid)
           
 
Method Summary
 AID getAgent()
           
 
Methods inherited from class jade.core.event.JADEEvent
getPlace, getTime
 
Methods inherited from class jade.util.Event
addParameter, getParameter, getType, notifyProcessed, reset, resetProcessed, waitUntilProcessed, waitUntilProcessed
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BORN_AGENT

public static final int BORN_AGENT
See Also:
Constant Field Values

DEAD_AGENT

public static final int DEAD_AGENT
See Also:
Constant Field Values

REATTACHED

public static final int REATTACHED
See Also:
Constant Field Values

RECONNECTED

public static final int RECONNECTED
See Also:
Constant Field Values

LEADERSHIP_ACQUIRED

public static final int LEADERSHIP_ACQUIRED
See Also:
Constant Field Values
Constructor Detail

ContainerEvent

public ContainerEvent(int id,
                      AID aid,
                      ContainerID cid)
Method Detail

getAgent

public AID getAgent()