|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.neighbourhood.MprSelectorSet
public final class MprSelectorSet
The class implements the MPR selector set, as specified in OLSRv2.
Method Summary | |
---|---|
java.lang.Object |
clone()
Implementation of the singleton design pattern. |
boolean |
contains(CidrAddress cidrAddress)
Checks to see if a CIDR addresses is present in the MPR selector set |
java.util.ArrayList<CidrAddress> |
getCAddresses()
Returns the CIDR addresses found in the MPR selector tuples. |
static MprSelectorSet |
getMprSelectorSet()
Implementation of the singleton design pattern |
boolean |
populate(CidrAddress localCAddresses,
java.util.ArrayList<CidrAddress> libCAddresses,
java.util.ArrayList<CidrAddress> cidrAddresses,
java.util.ArrayList<Tlv> tlvs,
long validityTime)
Populates the MPR selector set. |
boolean |
purge()
The method purges the MPR selector set for expired entries |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MprSelectorSet getMprSelectorSet()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean populate(CidrAddress localCAddresses, java.util.ArrayList<CidrAddress> libCAddresses, java.util.ArrayList<CidrAddress> cidrAddresses, java.util.ArrayList<Tlv> tlvs, long validityTime)
localCAddresses
- the local CIDR addresslibCAddresses
- the LIB CIDR addressescidrAddresses
- the CIDR addressestlvs
- the TLVsvalidityTime
- the validity time
public java.util.ArrayList<CidrAddress> getCAddresses()
public boolean contains(CidrAddress cidrAddress)
cidrAddress
- the CIDR address
public boolean purge()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |