|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
com.ibm.aglet.event.AgletEvent
com.ibm.aglet.event.MobilityEvent
The mobility event occurs when the aglet is about to move.
| Field Summary | |
static int |
AGLET_MOBILITY_FIRST
Marks the first integer id for the range of mobility event ids. |
static int |
AGLET_MOBILITY_LAST
Marks the last integer id for the range of mobility event ids. |
static int |
ARRIVAL
The ARRIVAL event type is delivered when the aglet arrived at the destination. |
static int |
DISPATCHING
The DISPATCHING event type is delivered just after the dispatch methods is called. |
private static java.lang.String[] |
name
|
static int |
REVERTING
The REVERTING event type is delivered when the retaction is requested from the remote site. |
private Ticket |
ticket
|
| Fields inherited from class com.ibm.aglet.event.AgletEvent |
id |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
MobilityEvent(int id,
AgletProxy target,
Ticket tick)
Constructs a mobility event with specified id, target and ticket |
|
MobilityEvent(int id,
AgletProxy target,
java.net.URL loc)
Constructs a mobility event with specified id, target and location |
|
| Method Summary | |
AgletProxy |
getAgletProxy()
Returns the aglet proxy which is the source of the event. |
java.net.URL |
getLocation()
Gets the location. |
Ticket |
getTicket()
Gets the ticket. |
java.lang.String |
toString()
|
| Methods inherited from class com.ibm.aglet.event.AgletEvent |
getID |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int AGLET_MOBILITY_FIRST
public static final int AGLET_MOBILITY_LAST
public static final int DISPATCHING
public static final int REVERTING
public static final int ARRIVAL
private static java.lang.String[] name
private Ticket ticket
| Constructor Detail |
public MobilityEvent(int id,
AgletProxy target,
Ticket tick)
public MobilityEvent(int id,
AgletProxy target,
java.net.URL loc)
| Method Detail |
public AgletProxy getAgletProxy()
public java.net.URL getLocation()
public Ticket getTicket()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||