edu.utah.janos.route
Class WriteableRouteTable
java.lang.Object
|
+--edu.utah.janosvm.sys.ListNode
|
+--edu.utah.janosvm.sys.Importable
|
+--edu.utah.janos.route.RouteTable
|
+--edu.utah.janos.route.WriteableRouteTable
- public class WriteableRouteTable
- extends RouteTable
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 ANTSR DynamicRouteTable as it has to hide all of
these interfaces.
- Author:
- Janos Ministry of Development
- See Also:
RouteTable
Fields inherited from class edu.utah.janosvm.sys.ListNode |
pred,
succ |
Methods inherited from class edu.utah.janosvm.sys.Importable |
copy,
finalize |
Methods inherited from class edu.utah.janosvm.sys.ListNode |
append,
clone,
prepend,
remove |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
WriteableRouteTable
public WriteableRouteTable()
- Create a WriteableRouteTable.
getRouteTable
public RouteTable getRouteTable()
- Get the underlying read-only table.
getRoutes
public java.util.Enumeration getRoutes()
- Overrides:
- getRoutes in class RouteTable
getRoute
public RouteEntry getRoute(int activeDest)
- Retrive the current route to get to the given active address.
- Overrides:
- getRoute in class RouteTable
getRoute
public RouteEntry getRoute(java.lang.Integer activeDest)
- Overrides:
- getRoute in class RouteTable
removeRoute
public void removeRoute(RouteEntry r)
- Remove a route from the table.
addRoute
public void addRoute(RouteEntry route)
- Add a route to the table.
addRoute
public void addRoute(int activeDest,
int activeNext,
java.lang.String physNext)
throws NoSuchNodeAddress,
AddressFormatException
- Add a route to the table.
This documentation is Copyright (C) 1998-2002 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project web site: http://www.cs.utah.edu/flux/janos/
Generated on Mar 17, 2002