#include <Ultrapeer.h> [code]
Inherits Gnutella::Packets::Extensions::Ggep.
Inheritance diagram for Gnutella::Packets::Extensions::Ggeps::Ultrapeer:


Definition at line 40 of file Ultrapeer.h.
Public Member Functions | |
| Ultrapeer (const GgepId &id, int flags, int dataSize) | |
| Ultrapeer (Version version, int ultrapeerSlots, int leafSlots) | |
| ~Ultrapeer () | |
| Ultrapeer (const Ultrapeer &other) | |
| Ultrapeer & | operator= (const Ultrapeer &other) |
| Ultrapeer * | copy () const |
| Version | version () const |
| int | ultrapeerSlots () const |
| int | leafSlots () const |
Static Public Member Functions | |
| static const Ultrapeer * | findIn (const GgepBlock &ggepBlock) |
Static Public Attributes | |
| static const Ggep::GgepId | Id |
Protected Member Functions | |
| bool | prepareReadData (const QByteArray &rawData) |
| Verifies the structure of rawData. | |
| void | readData (QDataStream &stream) |
| Reads the extension data from stream. | |
| int | prepareWriteData () const |
| Prepares for writing the extension data and returns its length. | |
| void | writeData (QDataStream &stream) const |
| Writes the extension data to the stream;. | |
Private Attributes | |
| Data * | d |
Classes | |
| struct | Data |
|
||||||||||||||||
|
Definition at line 34 of file Ultrapeer.cpp. |
|
||||||||||||||||
|
Definition at line 47 of file Ultrapeer.cpp. |
|
|
Definition at line 59 of file Ultrapeer.cpp. |
|
|
Definition at line 82 of file Ultrapeer.h. |
|
|
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 80 of file Ultrapeer.cpp. |
|
|
Definition at line 71 of file Ultrapeer.cpp. |
|
|
Definition at line 92 of file Ultrapeer.h. |
|
|
Definition at line 65 of file Ultrapeer.cpp. |
|
|
Verifies the structure of rawData.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 85 of file Ultrapeer.cpp. |
|
|
Prepares for writing the extension data and returns its length.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 101 of file Ultrapeer.cpp. |
|
|
Reads the extension data from stream.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 90 of file Ultrapeer.cpp. |
|
|
Definition at line 89 of file Ultrapeer.h. |
|
|
Definition at line 86 of file Ultrapeer.h. |
|
|
Writes the extension data to the stream;.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 106 of file Ultrapeer.cpp. |
|
|
Reimplemented from Gnutella::Packets::Extensions::Ggep. Definition at line 75 of file Ultrapeer.h. |
|
|
Definition at line 43 of file Ultrapeer.h. |