All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class macondo.mak.Itinerary

macondo.mak.Itinerary

public class Itinerary
Class used to encapsulate the itinerary of an agent. An itinerary is a sequence of Pairs, where a Pair is an association destination/task and each task is executed at the corresponding location.

See Also:
Pair

Constructor Index

 o Itinerary()
 o Itinerary(Vector)

Method Index

 o add(Pair)
 o add(PlaceName, String)
 o add(String, int, String)
 o drop()
 o hasMoreElements()
 o modifyAt(Pair, int)
 o setItinerary(Vector)

Constructors

 o Itinerary
 public Itinerary()
 o Itinerary
 public Itinerary(Vector itinerary)

Methods

 o setItinerary
 public void setItinerary(Vector itinerary)
 o add
 public void add(Pair p)
 o add
 public void add(PlaceName pn,
                 String methodName)
 o add
 public void add(String host,
                 int port,
                 String methodName)
 o drop
 public Pair drop()
 o hasMoreElements
 public boolean hasMoreElements()
 o modifyAt
 public void modifyAt(Pair p,
                      int index)

All Packages  Class Hierarchy  This Package  Previous  Next  Index