PongHandler.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef GNUTELLA__BOOTSTRAPPING__PONG_HANDLER_H
00024 #define GNUTELLA__BOOTSTRAPPING__PONG_HANDLER_H
00025
00026 #include "Imports.h"
00027
00028
00029 namespace Gnutella {
00030 namespace Bootstrapping {
00032
00033 class NodeCache;
00034 class UdpHostCache;
00035
00036 class PongHandler : public QObject
00037 {
00038 Q_OBJECT
00039
00040 public:
00041 PongHandler (LocalPeer *);
00042 ~PongHandler();
00043
00044 public slots:
00045 void processPong (const Pong &);
00046
00047 private:
00048 struct Data
00049 {
00050 NodeCache *nodeCache;
00051 UdpHostCache *udpHostCache;
00052 };
00053 Data d;
00054 };
00055
00056
00057 }
00058 }
00060
00061 #endif // GNUTELLA__BOOTSTRAPPING__PONG_HANDLER_H