com.sun.spot.ipv6.routing
Class IPRoutingTable
java.lang.Object
com.sun.spot.resources.Resource
com.sun.spot.service.BasicService
com.sun.spot.ipv6.routing.IPRoutingTable
- All Implemented Interfaces:
- IResource, IService
public class IPRoutingTable
- extends BasicService
A routing table for use by the IPv6 implementation. Allows for longest
prefix matching of IPv6 destination addresses.
- Author:
- Pete St. Pierre
|
Field Summary |
static boolean |
debug
|
debug
public static final boolean debug
getInstance
public static IPRoutingTable getInstance()
- Return this IP Routing Table singleton
- Returns:
- the Routing table singleton
getServiceName
public String getServiceName()
- Description copied from interface:
IService
- Return the name of this service.
- Specified by:
getServiceName in interface IService- Specified by:
getServiceName in class BasicService
- Returns:
- the name of this service
initializeStaticValues
public void initializeStaticValues()
setDefaultRoute
public void setDefaultRoute(IPRouteEntry re)
getDefaultRoute
public IPRouteEntry getDefaultRoute()
addEntry
public void addEntry(IPRouteEntry re)
deleteEntry
public void deleteEntry(IPRouteEntry re)
findEntry
public IPRouteEntry findEntry(byte[] dest)
dumpTable
public void dumpTable()
Copyright © 2006-2010 Oracle. All Rights Reserved.