|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.topology.AnsnHistorySet
public class AnsnHistorySet
The class implements the ANSN history set, as specified in OLSRv2.
Constructor Summary | |
---|---|
AnsnHistorySet()
Constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
Implementation of the singleton design pattern. |
static AnsnHistorySet |
getAnsnHistorySet()
Implementation of the singleton design pattern |
boolean |
populate(java.net.InetAddress originatorAddress,
int ansn,
long validityTime)
Method populating the advertised neighbour set, as proposed in the specification |
void |
purgeAnsn()
The method purges the ANSN history set, deleting entries with expired ANSN |
void |
purgeTime()
The method purges the ANSN history set, deleting entries with expired time |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnsnHistorySet()
Method Detail |
---|
public static AnsnHistorySet getAnsnHistorySet()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean populate(java.net.InetAddress originatorAddress, int ansn, long validityTime)
public void purgeTime()
public void purgeAnsn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |