|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.neighbourhood.SymmetricNeighbourSet
public class SymmetricNeighbourSet
The class implements the symmetric neighbour set, as specified in OLSRv2.
Constructor Summary | |
---|---|
SymmetricNeighbourSet()
Constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
Implementation of the singleton design pattern. |
static SymmetricNeighbourSet |
getSymmetricNeighbourSet()
Implementation of the singleton design pattern. |
java.util.ArrayList<SymmetricNeighbourTuple> |
getTuples(CidrAddress from)
Returns the tuples with a certain local CIDR address |
void |
populate(CidrAddress receivingCAddress,
java.util.ArrayList<CidrAddress> libCAddresses,
java.util.ArrayList<CidrAddress> cidrAddresses,
java.util.ArrayList<Tlv> tlvs,
long validityTime)
Method populating the symmetric neighbour set, as proposed in the specification |
boolean |
purge()
The method purges the symmetric neighbour set, deleting expired entries |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SymmetricNeighbourSet()
Method Detail |
---|
public static SymmetricNeighbourSet getSymmetricNeighbourSet()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void populate(CidrAddress receivingCAddress, java.util.ArrayList<CidrAddress> libCAddresses, java.util.ArrayList<CidrAddress> cidrAddresses, java.util.ArrayList<Tlv> tlvs, long validityTime)
receivingCAddress
- the receiving CIDR addresslibCAddresses
- the LIB CIDR addresscidrAddresses
- the CIDR addressestlvs
- the TLVsvalidityTime
- the validity timepublic java.util.ArrayList<SymmetricNeighbourTuple> getTuples(CidrAddress from)
from
- the local CIDR address
public boolean purge()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |