sidnet.stack.users.alternating_tree.routing
Class MultiPathRoutingTable
java.lang.Object
sidnet.stack.users.alternating_tree.routing.MultiPathRoutingTable
public class MultiPathRoutingTable
- extends java.lang.Object
Method Summary |
void |
add(NetAddress destIP,
int altPathIndex,
MacAddress nextHopMac,
int nodeId)
|
void |
addByCombinedKey(java.lang.String key,
MacAddress nextHopMac,
int nodeId)
|
void |
deleteNextHopMac(MacAddress deleteableAddress)
|
void |
eraseDestinationEntries(NetAddress destIP,
int altPathIndex)
|
boolean |
existDestinationEntry(java.lang.String key)
|
MultiPathRoutingTable |
getCopy()
|
java.lang.String |
getDestByIndex(int index)
|
MacAddress |
getNextHop(NetAddress destIP,
int altPathIndex)
|
MacAddress |
getNextHopByIndex(int index)
|
int |
getSize()
|
void |
print()
|
void |
replaceNextHopMac(MacAddress oldAddress,
MacAddress newAddress)
|
void |
update(NetAddress destIP,
int altPathIndex,
MacAddress nextHopMac,
int nodeId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiPathRoutingTable
public MultiPathRoutingTable()
existDestinationEntry
public boolean existDestinationEntry(java.lang.String key)
add
public void add(NetAddress destIP,
int altPathIndex,
MacAddress nextHopMac,
int nodeId)
addByCombinedKey
public void addByCombinedKey(java.lang.String key,
MacAddress nextHopMac,
int nodeId)
update
public void update(NetAddress destIP,
int altPathIndex,
MacAddress nextHopMac,
int nodeId)
replaceNextHopMac
public void replaceNextHopMac(MacAddress oldAddress,
MacAddress newAddress)
deleteNextHopMac
public void deleteNextHopMac(MacAddress deleteableAddress)
eraseDestinationEntries
public void eraseDestinationEntries(NetAddress destIP,
int altPathIndex)
getNextHop
public MacAddress getNextHop(NetAddress destIP,
int altPathIndex)
getCopy
public MultiPathRoutingTable getCopy()
getDestByIndex
public java.lang.String getDestByIndex(int index)
getNextHopByIndex
public MacAddress getNextHopByIndex(int index)
getSize
public int getSize()
print
public void print()