|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.topology.TopologySet
public final class TopologySet
The class implements the topology set, as specified in OLSRv2.
Method Summary | |
---|---|
java.lang.Object |
clone()
Implementation of the singleton design pattern. |
static TopologySet |
getTopologySet()
Implementation of the singleton design pattern. |
java.util.ArrayList<TopologyTuple> |
getTuples()
Returns the topology tuples |
boolean |
update(java.util.ArrayList<CidrAddress> libCAddresses,
java.util.ArrayList<java.net.InetAddress> addresses,
java.util.ArrayList<Tlv> tlvs,
long validityTime,
int ansn)
Updates the topology set as suggested in the specification |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TopologySet getTopologySet()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean update(java.util.ArrayList<CidrAddress> libCAddresses, java.util.ArrayList<java.net.InetAddress> addresses, java.util.ArrayList<Tlv> tlvs, long validityTime, int ansn)
libCAddresses
- the LIB CIDR addressaddresses
- the IP addressestlvs
- the TLVsvalidityTime
- the validity timeansn
- the ANSN
public java.util.ArrayList<TopologyTuple> getTuples()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |