All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.route.WriteableRouteTable
java.lang.Object
   |
   +----edu.utah.janos.route.RouteTable
           |
           +----edu.utah.janos.route.WriteableRouteTable

  Summary

public class  WriteableRouteTable
     extends edu.utah.janos.route.RouteTable
{
          // Constructors 1
     public WriteableRouteTable();

          // Methods 7
     public void addRoute(RouteEntry);
     public void addRoute(int, int, String) throws NoSuchNodeAddress, AddressFormatException;
     public RouteEntry getRoute(int);
     public RouteEntry getRoute(Integer);
     public RouteTable getRouteTable();
     public Enumeration getRoutes();
     public void removeRoute(RouteEntry);
}

Interface for an updatable routing table. The regular route table is read-only. Access to this class is controlled (or, more acurately, supposed to be controlled) by controls on a flow's namespace.

NOTE: If you add/change any interface in here, be sure to update the ANTS DynamicRouteTable as it has to hide all of these interfaces.

See Also: RouteTable


  Cross Reference

Extended By:
DynamicRouteTable, StaticRouteTable





  Constructors

· WriteableRouteTable

Summary  |  Top
   public WriteableRouteTable() 

Create a WriteableRouteTable.



  Methods

· getRouteTable

Summary  |  Top
   public RouteTable getRouteTable() 

Get the underlying read-only table.



· getRoutes

Summary  |  Top
   public Enumeration getRoutes() 
Overrides:
getRoutes in class RouteTable


· getRoute

Summary  |  Top
   public RouteEntry getRoute(int activeDest) 

Retrive the current route to get to the given active address.

Overrides:
getRoute in class RouteTable


· getRoute

Summary  |  Top
   public RouteEntry getRoute(Integer activeDest) 
Overrides:
getRoute in class RouteTable


· removeRoute

Summary  |  Top
   public void removeRoute(RouteEntry r) 

Remove a route from the table.



· addRoute

Summary  |  Top
   public void addRoute(RouteEntry route) 

Add a route to the table.



· addRoute

Summary  |  Top
   public void addRoute(int activeDest, 
                        int activeNext, 
                        String physNext)  throws NoSuchNodeAddress, AddressFormatException

Add a route to the table.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7