|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjist.swans.route.RouteAodv.OutgoingSet
private static class RouteAodv.OutgoingSet
Represents the set of neighboring nodes through which this node routes messages. The node expects to periodically receive messages (HELLO or other) from each neighbor in its outgoing set. If it does not receive any messages from a particular neighbor over a certain period of time, it can assume that neighbor is no longer within range. Each node in this set is mapped to a corresponding OutgoingInfo object.
Field Summary | |
---|---|
private NetAddress |
localAddr
Local net address. |
private java.util.Map |
map
Data structure for the outgoing node set. |
Constructor Summary | |
---|---|
RouteAodv.OutgoingSet(NetAddress netAddr)
Constructs a new outgoingSet object. |
Method Summary | |
---|---|
void |
add(MacAddress m)
Adds an entry to the outgoing node set. |
RouteAodv.OutgoingInfo |
getInfo(MacAddress m)
Returns the outgoing node info for a given MAC address. |
java.util.Iterator |
iterator()
Returns an iterator for this outgoing set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Map map
private NetAddress localAddr
Constructor Detail |
---|
public RouteAodv.OutgoingSet(NetAddress netAddr)
netAddr
- local net addressMethod Detail |
---|
public java.util.Iterator iterator()
public void add(MacAddress m)
m
- mac address of node to addpublic RouteAodv.OutgoingInfo getInfo(MacAddress m)
m
- the given MAC address
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |