|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.processforward.RelaySet
public class RelaySet
The class implements the relay set, as specified in OLSRv2.
Method Summary | |
---|---|
void |
add(java.net.InetAddress address)
Adds an IP address to the relay set |
void |
clear()
The method deletes all relay tuples |
java.lang.Object |
clone()
Implementation of the singleton design pattern. |
boolean |
contains(java.net.InetAddress address)
Checks if the realy set contains a received tuple with having a certain IP address |
static RelaySet |
getRelaySet()
Implementation of the singleton design pattern |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RelaySet getRelaySet()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean contains(java.net.InetAddress address)
address
-
public void clear()
public void add(java.net.InetAddress address)
address
- IP address
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |