|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.neighbourhood.TwoHopTuple
public class TwoHopTuple
The class implements the two hop tuple, as specified in OLSRv2.
Constructor Summary | |
---|---|
TwoHopTuple(CidrAddress localCAddress,
CidrAddress neighbourCAddress,
CidrAddress twoHopCAddress,
long time)
Constructor |
Method Summary | |
---|---|
CidrAddress |
getLocalCAddress()
Returns the local CIDR address |
CidrAddress |
getNeighbourCAddress()
Returns the neighbour CIDR address |
long |
getTime()
Returns the time |
CidrAddress |
getTwoHopCAddress()
Return the two hop CIDR address |
void |
setTime(long time)
Sets the time |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwoHopTuple(CidrAddress localCAddress, CidrAddress neighbourCAddress, CidrAddress twoHopCAddress, long time)
localCAddress
- the local CIDR addressneighbourCAddress
- the neighbour CIDR addresstwoHopCAddress
- the two hop CIDR addresstime
- the timeMethod Detail |
---|
public CidrAddress getLocalCAddress()
public CidrAddress getNeighbourCAddress()
public CidrAddress getTwoHopCAddress()
public long getTime()
public void setTime(long time)
time
- the time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |