sidnet.stack.users.geographical_tree_aggregation.routing
Class RoutingTable
java.lang.Object
   sidnet.stack.users.geographical_tree_aggregation.routing.RoutingTable
sidnet.stack.users.geographical_tree_aggregation.routing.RoutingTable
- public class RoutingTable 
- extends java.lang.Object
| Constructor Summary | 
| RoutingTable()Creates a new instance of RoutingTable
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RoutingTable
public RoutingTable()
- Creates a new instance of RoutingTable
 
existDestinationEntry
public boolean existDestinationEntry(NetAddress destIP)
- 
 
add
public void add(NetAddress destIP,
                MacAddress nextHopMac,
                int nodeId)
- 
 
update
public void update(NetAddress destIP,
                   MacAddress nextHopMac,
                   int nodeId)
- 
 
replaceNextHopMac
public void replaceNextHopMac(MacAddress oldAddress,
                              MacAddress newAddress)
- 
 
deleteNextHopMac
public void deleteNextHopMac(MacAddress deleteableAddress)
- 
 
eraseDestinationEntries
public void eraseDestinationEntries(NetAddress destIP)
- 
 
getNextHop
public MacAddress getNextHop(NetAddress destIP)
- 
 
getCopy
public RoutingTable getCopy()
- 
 
getDestByIndex
public NetAddress getDestByIndex(int index)
- 
 
getNextHopByIndex
public MacAddress getNextHopByIndex(int index)
- 
 
getSize
public int getSize()
- 
 
print
public void print()
-