ist.palcom.routing.util
Class DSDVPeer
java.lang.Object
ist.palcom.collections.Link
ist.palcom.routing.util.DSDVPeer
public class DSDVPeer
- extends Link
DSDV-Peer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DSDVPeer
public DSDVPeer(URN routingURN,
Selector routingSelector,
URN nextHopURN,
Selector nextHopSelector,
int metric,
int seq_nr)
getRoutingURN
public URN getRoutingURN()
getRoutingSelector
public Selector getRoutingSelector()
getNextHopURN
public URN getNextHopURN()
getNextHopSelector
public Selector getNextHopSelector()
setNextHop
public void setNextHop(URN nextHopURN,
Selector nextHopSelector)
getMetric
public int getMetric()
setMetric
public void setMetric(int new_metric)
getSequenceNumber
public int getSequenceNumber()
setSequenceNumber
public void setSequenceNumber(int new_seqnr)
getStatus
public int getStatus()
setStatus
public void setStatus(int newstatus)
copy
public DSDVPeer copy()
setIsActive
public void setIsActive(boolean active)
isActive
public boolean isActive()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
marshall
public java.lang.String marshall()
- Marshalling
- Returns:
- String
unmarshall
public static DSDVPeer unmarshall(java.lang.String input)
- Unmarshalling
- Parameters:
input - The String from the marshalling
- Returns:
- DSDVPeer