Gnutella::Bootstrapping::ConnectionKeeper Class Reference

#include <ConnectionKeeper.h> [code]

Inherits QObject.

Inheritance diagram for Gnutella::Bootstrapping::ConnectionKeeper:

Inheritance graph
[legend]
Collaboration diagram for Gnutella::Bootstrapping::ConnectionKeeper:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 38 of file ConnectionKeeper.h.

Public Slots

void bootstrap ()
void keepConnection ()

Public Member Functions

 ConnectionKeeper (LocalPeer *)
 ~ConnectionKeeper ()

Private Member Functions

 ConnectionKeeper (const ConnectionKeeper &)
ConnectionKeeperoperator= (const ConnectionKeeper &)
void doUdpPinging ()
void doUhcQuery ()

Private Attributes

ConnectionKeeperPrivatep


Constructor & Destructor Documentation

Gnutella::Bootstrapping::ConnectionKeeper::ConnectionKeeper const ConnectionKeeper  )  [private]
 

ConnectionKeeper::ConnectionKeeper LocalPeer  ) 
 

Definition at line 112 of file ConnectionKeeper.cpp.

ConnectionKeeper::~ConnectionKeeper  ) 
 

Definition at line 119 of file ConnectionKeeper.cpp.


Member Function Documentation

void ConnectionKeeper::bootstrap  )  [slot]
 

Definition at line 124 of file ConnectionKeeper.cpp.

void ConnectionKeeper::doUdpPinging  )  [private]
 

Definition at line 199 of file ConnectionKeeper.cpp.

void ConnectionKeeper::doUhcQuery  )  [private]
 

Todo:
What if all caches were queried and we have to wait before trying again?
We use QueuedConnection so that all IPPs are added and we really try them. Ohterwise we may try the fresh one + some old nodes from the cache.

Definition at line 221 of file ConnectionKeeper.cpp.

void ConnectionKeeper::keepConnection  )  [slot]
 

Definition at line 159 of file ConnectionKeeper.cpp.

ConnectionKeeper& Gnutella::Bootstrapping::ConnectionKeeper::operator= const ConnectionKeeper  )  [private]
 


Member Data Documentation

ConnectionKeeperPrivate* Gnutella::Bootstrapping::ConnectionKeeper::p [private]
 

Definition at line 55 of file ConnectionKeeper.h.


The documentation for this class was generated from the following files: