• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

dht::GetPeersRsp

dht::GetPeersRsp Class Reference

#include <rpcmsg.h>

Inheritance diagram for dht::GetPeersRsp:

Inheritance graph
[legend]

List of all members.


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 Key &  token 
)

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.

bool dht::GetPeersRsp::containsNodes (  )  const [inline]

Definition at line 260 of file rpcmsg.h.

bool dht::GetPeersRsp::containsValues (  )  const [inline]

Definition at line 261 of file rpcmsg.h.

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]

Definition at line 258 of file rpcmsg.h.

const Key& dht::GetPeersRsp::getToken (  )  const [inline]

Definition at line 259 of file rpcmsg.h.

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:
  • rpcmsg.h
  • rpcmsg.cpp

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal