|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.routing.util.DSDVTable
public class DSDVTable
DSDV-Table
| Constructor Summary | |
|---|---|
DSDVTable()
DSDV-Table representation |
|
| Method Summary | |
|---|---|
void |
addPeer(DSDVPeer peer)
|
void |
deletePeer(URN routingURN,
Selector routingSelector)
Delete a peer based on the URN |
DSDVPeer |
getPeer(URN routingURN)
Get a peer based on the URN |
LinkedList |
getPeers()
|
java.lang.String |
marshall()
Marshalling the DSDV-table. |
void |
reset()
|
static DSDVTable |
unmarshall(java.lang.String input)
Unmarshalling |
boolean |
updateStatus(boolean pong,
URN routingURN)
The metric must = 0 and next_hop must match |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSDVTable()
| Method Detail |
|---|
public void addPeer(DSDVPeer peer)
public void deletePeer(URN routingURN,
Selector routingSelector)
routingURN -
public boolean updateStatus(boolean pong,
URN routingURN)
pong - true if update after a pong message and false after ping messageroutingURN - the URN
public DSDVPeer getPeer(URN routingURN)
public LinkedList getPeers()
public void reset()
public java.lang.String marshall()
public static DSDVTable unmarshall(java.lang.String input)
input - The marshalled String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||