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


Definition at line 41 of file UdpHostCache.h.
Public Slots | |
| void | addCache (const NodeAddress &) |
| void | removeCache (const NodeAddress &) |
| void | queryCache () |
| void | queryNode (const NodeAddress &) |
| Sends a UDP ping to the node at address. | |
Signals | |
| void | receivedPong (const Pong &) |
Public Member Functions | |
| UdpHostCache (UdpSwitch *, PingHandler *) | |
| ~UdpHostCache () | |
| bool | loadCaches (const QString &filename) |
| bool | storeCaches (const QString &filename) |
Private Slots | |
| void | connectionAcceptedSlot (UdpConnection *) |
| void | connectionFailedSlot () |
| void | connectionEstablishedSlot () |
| void | processPacket (Packet &, PacketSession *) |
| void | closeSession (PacketSession *) |
Private Member Functions | |
| UdpHostCache (const UdpHostCache &) | |
| UdpHostCache & | operator= (const UdpHostCache &) |
| void | doQuery (const NodeAddress &, CacheInfo *) |
| PacketSession * | createSession (UdpConnection *) |
Private Attributes | |
| UdpHostCachePrivate * | p |
|
|
|
|
||||||||||||
|
Definition at line 78 of file UdpHostCache.cpp. |
|
|
Definition at line 89 of file UdpHostCache.cpp. |
|
|
Definition at line 97 of file UdpHostCache.cpp. |
|
|
Definition at line 266 of file UdpHostCache.cpp. |
|
|
Definition at line 178 of file UdpHostCache.cpp. |
|
|
Definition at line 199 of file UdpHostCache.cpp. |
|
|
Definition at line 184 of file UdpHostCache.cpp. |
|
|
Definition at line 164 of file UdpHostCache.cpp. |
|
||||||||||||
|
Definition at line 149 of file UdpHostCache.cpp. |
|
|
Definition at line 282 of file UdpHostCache.cpp. |
|
|
|
|
||||||||||||
|
Definition at line 224 of file UdpHostCache.cpp. |
|
|
Definition at line 131 of file UdpHostCache.cpp. |
|
|
Sends a UDP ping to the node at address. The difference to queryCache() is that we ping a normal Gnutella node over UDP. The caller has most probably picked a bunch of high uptime ones. We need to keep no stats for such nodes as we would for the "real" UHCs! Definition at line 126 of file UdpHostCache.cpp. |
|
|
|
|
|
Definition at line 109 of file UdpHostCache.cpp. |
|
|
Definition at line 310 of file UdpHostCache.cpp. |
|
|
Definition at line 73 of file UdpHostCache.h. |