com.ibm.aglet.event
Interface MobilityListener

All Superinterfaces:
java.util.EventListener, java.io.Serializable
All Known Implementing Classes:
AgletEventListener, MobilityAdapter

public interface MobilityListener
extends java.util.EventListener, java.io.Serializable

The listener interface for receiving mobility events on an aglet.

Version:
1.00 $Date: 2001/07/28 06:34:11 $
Author:
Mitsuru Oshima

Method Summary
 void onArrival(MobilityEvent event)
          Invoked just after the aglet arrived at the destination
 void onDispatching(MobilityEvent event)
          Invoked when the aglet is attempted to dispatch.
 void onReverting(MobilityEvent event)
          Invoked when the aglet is retracted.
 

Method Detail

onArrival

public void onArrival(MobilityEvent event)
Invoked just after the aglet arrived at the destination

onDispatching

public void onDispatching(MobilityEvent event)
Invoked when the aglet is attempted to dispatch.

onReverting

public void onReverting(MobilityEvent event)
Invoked when the aglet is retracted.