#include <NodeCache.h> [code]
Inherits QObject.
Inheritance diagram for Gnutella::Bootstrapping::NodeCache:


Definition at line 36 of file NodeCache.h.
Public Types | |
| enum | NodeAvailability { UnknownAvailability, CheckingAvailability, NodeAvailable, NodeBusy, NodeUnavailable, AvailabilityCount } |
| Enumerates the different host availabilities. More... | |
Signals | |
| void | nodeAdded () |
Public Member Functions | |
| NodeCache () | |
| ~NodeCache () | |
| bool | loadNodes (const QString &filename) |
| bool | storeNodes (const QString &filename) |
| void | addNode (const NodeInfo &, NodeAvailability) |
| void | updateNode (const NodeAddress &, NodeAvailability) |
| NodeSet | getNodes (int count, NodeAvailability, bool freshNodes) |
| template<typename Pred> | |
| NodeSet | getNodes (int count, NodeAvailability availability, bool freshNodes, const Pred &pred) |
Private Member Functions | |
| NodeCache (const NodeCache &) | |
| NodeCache & | operator= (const NodeCache &) |
| NodeSet | getNodes (int count, NodeAvailability availability, bool freshNodes, const Predicate &pred) |
Private Attributes | |
| NodeCachePrivate * | d |
Classes | |
| class | Predicate |
|
|
Enumerates the different host availabilities.
Definition at line 56 of file NodeCache.h. |
|
|
|
|
|
Definition at line 88 of file NodeCache.cpp. |
|
|
Definition at line 93 of file NodeCache.cpp. |
|
||||||||||||
|
Definition at line 118 of file NodeCache.cpp. |
|
||||||||||||||||||||
|
Definition at line 185 of file NodeCache.cpp. |
|
||||||||||||||||||||||||
|
Definition at line 95 of file NodeCache.h. |
|
||||||||||||||||
|
Definition at line 98 of file NodeCache.cpp. |
|
|
Definition at line 201 of file NodeCache.cpp. |
|
|
|
|
|
|
|
|
Definition at line 230 of file NodeCache.cpp. |
|
||||||||||||
|
Definition at line 153 of file NodeCache.cpp. |
|
|
Definition at line 91 of file NodeCache.h. |