|
OverSim
|
This class implements a path lookup. More...
#include <IterativeLookup.h>
Protected Member Functions | |
| bool | accepts (int rpcId) |
| void | handleResponse (FindNodeResponse *msg) |
| void | handleTimeout (BaseCallMessage *msg, const TransportAddress &dest, int rpcId) |
| void | handleFailedNodeResponse (const NodeHandle &src, cPacket *findNodeExt, bool retry) |
| IterativePathLookup (IterativeLookup *lookup) | |
| virtual | ~IterativePathLookup () |
| int | add (const NodeHandle &handle, const NodeHandle &source=NodeHandle::UNSPECIFIED_NODE) |
| Adds a NodeHandle to next hops. | |
Protected Attributes | |
| IterativeLookup * | lookup |
| BaseOverlay * | overlay |
| int | hops |
| int | step |
| int | pendingRpcs |
| bool | finished |
| bool | success |
| LookupVector | nextHops |
| std::map< TransportAddress, NodeHandle > | oldNextHops |
Private Member Functions | |
| void | sendRpc (int num, cPacket *FindNodeExt=NULL) |
| void | sendNewRpcAfterTimeout (cPacket *findNodeExt) |
Friends | |
| class | IterativeLookup |
This class implements a path lookup.
Definition at line 291 of file IterativeLookup.h.
|
protected |
Definition at line 735 of file IterativeLookup.cc.
|
protectedvirtual |
Definition at line 756 of file IterativeLookup.cc.
|
protected |
Definition at line 759 of file IterativeLookup.cc.
Referenced by IterativeLookup::handleRpcResponse().
|
protected |
Adds a NodeHandle to next hops.
Definition at line 1142 of file IterativeLookup.cc.
Referenced by handleResponse(), and IterativeLookup::start().
|
protected |
Definition at line 997 of file IterativeLookup.cc.
|
protected |
Definition at line 776 of file IterativeLookup.cc.
Referenced by IterativeLookup::handleRpcResponse().
|
protected |
Definition at line 910 of file IterativeLookup.cc.
Referenced by IterativeLookup::handleRpcResponse(), and IterativeLookup::handleRpcTimeout().
|
private |
Definition at line 898 of file IterativeLookup.cc.
Referenced by handleFailedNodeResponse(), and handleTimeout().
|
private |
Definition at line 1036 of file IterativeLookup.cc.
Referenced by handleResponse(), sendNewRpcAfterTimeout(), and IterativeLookup::start().
|
friend |
Definition at line 293 of file IterativeLookup.h.
|
protected |
Definition at line 303 of file IterativeLookup.h.
Referenced by accepts(), handleFailedNodeResponse(), handleResponse(), IterativeLookup::handleRpcResponse(), IterativeLookup::handleRpcTimeout(), handleTimeout(), IterativePathLookup(), and sendRpc().
|
protected |
Definition at line 300 of file IterativeLookup.h.
Referenced by handleResponse(), IterativeLookup::handleRpcResponse(), IterativeLookup::handleRpcTimeout(), IterativePathLookup(), and sendRpc().
|
protected |
Definition at line 296 of file IterativeLookup.h.
Referenced by accepts(), add(), handleFailedNodeResponse(), handleResponse(), handleTimeout(), IterativePathLookup(), sendNewRpcAfterTimeout(), and sendRpc().
|
protected |
Definition at line 305 of file IterativeLookup.h.
Referenced by add(), handleFailedNodeResponse(), handleResponse(), handleTimeout(), IterativePathLookup(), and sendRpc().
|
protected |
Definition at line 306 of file IterativeLookup.h.
Referenced by handleFailedNodeResponse(), handleResponse(), handleTimeout(), and sendRpc().
|
protected |
Definition at line 297 of file IterativeLookup.h.
Referenced by IterativePathLookup(), and sendRpc().
|
protected |
Definition at line 302 of file IterativeLookup.h.
Referenced by handleResponse(), handleTimeout(), IterativePathLookup(), sendNewRpcAfterTimeout(), and sendRpc().
|
protected |
Definition at line 301 of file IterativeLookup.h.
Referenced by accepts(), handleResponse(), IterativePathLookup(), and sendRpc().
|
protected |
Definition at line 304 of file IterativeLookup.h.
Referenced by handleResponse(), IterativeLookup::handleRpcResponse(), IterativeLookup::handleRpcTimeout(), handleTimeout(), IterativePathLookup(), and sendRpc().