|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.topology.RoutingTuple
public class RoutingTuple
The class implements the routing tuple, as specified in OLSRv2.
Constructor Summary | |
---|---|
RoutingTuple(java.net.InetAddress destination,
java.net.InetAddress next,
int distance,
java.net.InetAddress localIfaceAddr)
Constructor |
Method Summary | |
---|---|
java.net.InetAddress |
getDestination()
Returns the destination IP address |
int |
getDistance()
Returns the distance |
java.net.InetAddress |
getLocalIfaceAddr()
Return the local interface IP address |
java.net.InetAddress |
getNext()
Return the next IP address |
java.lang.String |
toString()
Return the entry nicely formatted |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoutingTuple(java.net.InetAddress destination, java.net.InetAddress next, int distance, java.net.InetAddress localIfaceAddr)
destination
- the destination IP addressnext
- the next IP addressdistance
- the ditancelocalIfaceAddr
- the local interface IP addressMethod Detail |
---|
public java.net.InetAddress getDestination()
public java.net.InetAddress getNext()
public int getDistance()
public java.net.InetAddress getLocalIfaceAddr()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |