All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.aglet.event.PersistencyEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.aglet.event.AgletEvent
                   |
                   +----com.ibm.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 static final int AGLET_PERSISTENCY_FIRST
Marks the first integer id for the range of persistency event ids.

 o AGLET_PERSISTENCY_LAST
 public static final int AGLET_PERSISTENCY_LAST
Marks the last integer id for the range of persistency event ids.

 o DEACTIVATING
 public static final int DEACTIVATING
The DEACTIVATING event type is delivered when the aglet is deactivated.

 o ACTIVATION
 public static final 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 EventObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index