kget
dht::GetPeersRsp Class Reference
#include <rpcmsg.h>
Inheritance diagram for dht::GetPeersRsp:

Detailed Description
Definition at line 247 of file rpcmsg.h.
Public Member Functions | |
| virtual void | apply (DHT *dh_table) |
| bool | containsNodes () const |
| bool | containsValues () const |
| virtual void | encode (QByteArray &arr) |
| const DBItemList & | getItemList () const |
| GetPeersRsp (Uint8 mtid, const Key &id, const DBItemList &values, const Key &token) | |
| GetPeersRsp (Uint8 mtid, const Key &id, const Key &token) | |
| const Key & | getToken () const |
| virtual void | print () |
| virtual | ~GetPeersRsp () |
Constructor & Destructor Documentation
| dht::GetPeersRsp::GetPeersRsp | ( | Uint8 | mtid, | |
| const Key & | id, | |||
| const DBItemList & | values, | |||
| const Key & | token | |||
| ) |
| dht::GetPeersRsp::~GetPeersRsp | ( | ) | [virtual] |
Definition at line 563 of file rpcmsg.cpp.
Member Function Documentation
| void dht::GetPeersRsp::apply | ( | DHT * | dh_table | ) | [virtual] |
When this message arrives this function will be called upon the DHT.
The message should then call the appropriate DHT function (double dispatch)
- Parameters:
-
dh_table Pointer to DHT
Implements dht::MsgBase.
Definition at line 566 of file rpcmsg.cpp.
| void dht::GetPeersRsp::encode | ( | QByteArray & | arr | ) | [virtual] |
BEncode the message.
- Parameters:
-
arr Data array
Implements dht::MsgBase.
Definition at line 576 of file rpcmsg.cpp.
| const DBItemList& dht::GetPeersRsp::getItemList | ( | ) | const [inline] |
| void dht::GetPeersRsp::print | ( | ) | [virtual] |
Print the message for debugging purposes.
Implements dht::MsgBase.
Definition at line 570 of file rpcmsg.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference