Class aglet.event.PersistencyEvent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aglet.event.PersistencyEvent

java.lang.Object
   |
   +----aglet.event.AgletEvent
           |
           +----aglet.event.PersistencyEvent

public class PersistencyEvent
extends AgletEvent
The persistency event

Variable Index

 o ACTIVATION
The ACTIVATION event type is delivered when the aglet is activated.
 o AGLET_PERSISTENCY_FIRST
Marks the first integer id for the range of persistency event ids.
 o AGLET_PERSISTENCY_LAST
Marks the last integer id for the range of persistency event ids.
 o DEACTIVATING
The DEACTIVATING event type is delivered when the aglet is deactivated.

Constructor Index

 o PersistencyEvent(int, AgletProxy, long)
Constructs a PersistencyEvent with the specified id, aglet proxy and duration.

Method Index

 o getAgletProxy()
Returns the aglet proxy which is the source of the event.
 o getDuration()
Gets the duration
 o toString()

Variables

 o AGLET_PERSISTENCY_FIRST
  public final static int AGLET_PERSISTENCY_FIRST
Marks the first integer id for the range of persistency event ids.
 o AGLET_PERSISTENCY_LAST
  public final static int AGLET_PERSISTENCY_LAST
Marks the last integer id for the range of persistency event ids.
 o DEACTIVATING
  public final static int DEACTIVATING
The DEACTIVATING event type is delivered when the aglet is deactivated.
 o ACTIVATION
  public final static int ACTIVATION
The ACTIVATION event type is delivered when the aglet is activated.

Constructors

 o PersistencyEvent
  public PersistencyEvent(int id,
                          AgletProxy aglet,
                          long duration)
Constructs a PersistencyEvent with the specified id, aglet proxy and duration.

Methods

 o getAgletProxy
  public AgletProxy getAgletProxy()
Returns the aglet proxy which is the source of the event.
 o getDuration
  public long getDuration()
Gets the duration
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index