|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.topology.AnsnHistoryTuple
public class AnsnHistoryTuple
The class implements the ANSN history tuple, as specified in OLSRv2.
Constructor Summary | |
---|---|
AnsnHistoryTuple(java.net.InetAddress originatorAddress,
int ansn,
long time)
Constructor |
Method Summary | |
---|---|
int |
getAnsn()
Returns the ANSN |
java.net.InetAddress |
getOriginatorAddress()
Returns the originator IP address |
long |
getTime()
Returns the time |
void |
setAnsn(int ansn)
Sets the ANSN |
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 AnsnHistoryTuple(java.net.InetAddress originatorAddress, int ansn, long time)
originatorAddress
- the originator IP addressansn
- the ANSNtime
- the timeMethod Detail |
---|
public java.net.InetAddress getOriginatorAddress()
public int getAnsn()
public void setAnsn(int ansn)
ansn
- the ANSNpublic 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 |