All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.agletx.util.MetaItinerary

java.lang.Object
   |
   +----com.ibm.aglet.event.MobilityAdapter
           |
           +----com.ibm.agletx.util.MetaItinerary

public class MetaItinerary
extends MobilityAdapter
implements Serializable
an itineray class to log visited and unvisited destinations during an aglet's tour.


Constructor Index

 o MetaItinerary(Aglet)

Method Index

 o getNonVisitedHosts()
Return unvisited destinations
 o getVisitedHosts()
Return visited destinations
 o onArrival(MobilityEvent)
Invoked when the aglet is retracted.
 o onDispatching(MobilityEvent)
Invoked when the aglet is attempted to dispatch.

Constructors

 o MetaItinerary
 public MetaItinerary(Aglet aglet)

Methods

 o getVisitedHosts
 public Enumeration getVisitedHosts()
Return visited destinations

Returns:
enumaration of addresses of visited destinations.
 o getNonVisitedHosts
 public Enumeration getNonVisitedHosts()
Return unvisited destinations

Returns:
enumaration of addresses of unvisited destinations.
 o onDispatching
 public void onDispatching(MobilityEvent ev)
Invoked when the aglet is attempted to dispatch.

Overrides:
onDispatching in class MobilityAdapter
 o onArrival
 public void onArrival(MobilityEvent ev)
Invoked when the aglet is retracted.

Overrides:
onArrival in class MobilityAdapter

All Packages  Class Hierarchy  This Package  Previous  Next  Index