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
-
ACTIVATION
- The ACTIVATION event type is delivered when the aglet is activated.
-
AGLET_PERSISTENCY_FIRST
- Marks the first integer id for the range of persistency event ids.
-
AGLET_PERSISTENCY_LAST
- Marks the last integer id for the range of persistency event ids.
-
DEACTIVATING
- The DEACTIVATING event type is delivered when the aglet is deactivated.
-
PersistencyEvent(int, AgletProxy, long)
- Constructs a PersistencyEvent with the specified id, aglet proxy and
duration.
-
getAgletProxy()
- Returns the aglet proxy which is the source of the event.
-
getDuration()
- Gets the duration
-
toString()
-
AGLET_PERSISTENCY_FIRST
public final static int AGLET_PERSISTENCY_FIRST
- Marks the first integer id for the range of persistency event ids.
AGLET_PERSISTENCY_LAST
public final static int AGLET_PERSISTENCY_LAST
- Marks the last integer id for the range of persistency event ids.
DEACTIVATING
public final static int DEACTIVATING
- The DEACTIVATING event type is delivered when the aglet is deactivated.
ACTIVATION
public final static int ACTIVATION
- The ACTIVATION event type is delivered when the aglet is activated.
PersistencyEvent
public PersistencyEvent(int id,
AgletProxy aglet,
long duration)
- Constructs a PersistencyEvent with the specified id, aglet proxy and
duration.
getAgletProxy
public AgletProxy getAgletProxy()
- Returns the aglet proxy which is the source of the event.
getDuration
public long getDuration()
- Gets the duration
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index