libktorrent  2.2.0
Public Member Functions | Protected Attributes | List of all members
dht::PackedNodeContainer Class Reference

#include <packednodecontainer.h>

Inheritance diagram for dht::PackedNodeContainer:
Inheritance graph
[legend]

Public Member Functions

void addNode (const QByteArray &a)
 Add a single node to the nodes or nodes2 parameter depending on it's size.
 
const QByteArray & getNodes () const
 Get the nodes parameter.
 
const QByteArray & getNodes6 () const
 Get the nodes6 parameter.
 

Protected Attributes

QByteArray nodes
 
QByteArray nodes6
 

Detailed Description

Packed node container utilitiy class. Stores both nodes and nodes6 parameters of some DHT messages.

Definition at line 34 of file packednodecontainer.h.


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