urv.olsr.data.mpr
Class MprSelectorSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<OLSRNode>
urv.olsr.data.mpr.OLSRSet
urv.olsr.data.mpr.MprSelectorSet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<OLSRNode>, java.util.Collection<OLSRNode>, java.util.Set<OLSRNode>, BandwidthUpdatable
public class MprSelectorSet
- extends OLSRSet
A node records a set of MPR-selector tuples (MS_main_addr, MS_time),
describing the neighbors which have selected this node as a MPR.
MS_main_addr is the main address of a node, which has selected this
node as MPR. MS_time specifies the time at which the tuple expires
and *MUST* be removed.
In a node, the set of MPR-selector tuples are denoted the "MPR
Selector Set".
- Author:
- Gerard Paris Aixala
- See Also:
- Serialized Form
Fields inherited from class urv.olsr.data.mpr.OLSRSet |
lock |
Methods inherited from class java.util.HashSet |
add, clear, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, hashCode, removeAll, retainAll, toArray, toArray |
MprSelectorSet
public MprSelectorSet(OLSRNode localNode)
setCopyOfSet
public void setCopyOfSet(java.util.Set<OLSRNode> set)
- Description copied from class:
OLSRSet
- Adds all elements to the data set
The data elements cannot be retrieved during
the copy operation
- Overrides:
setCopyOfSet
in class OLSRSet
createTcMessage
public TcMessage createTcMessage()