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


Definition at line 36 of file UdpHostCache.h.
Public Member Functions | |
| UdpHostCache (const GgepId &id, int flags, int dataSize) | |
| UdpHostCache (const QString &hostCacheAddress) | |
| UdpHostCache * | copy () const |
| QString | hostName () const |
| void | setHostName (const QString &hostName) |
Static Public Member Functions | |
| static const UdpHostCache * | 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 | |
| Gnutella::Packets::Extensions::Ggeps::UdpHostCache::Private | p |
Classes | |
| struct | Private |
|
||||||||||||||||
|
Definition at line 33 of file UdpHostCache.cpp. |
|
|
Definition at line 38 of file UdpHostCache.cpp. |
|
|
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 56 of file UdpHostCache.cpp. |
|
|
Definition at line 45 of file UdpHostCache.cpp. |
|
|
Definition at line 69 of file UdpHostCache.h. |
|
|
Verifies the structure of rawData.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 61 of file UdpHostCache.cpp. |
|
|
Prepares for writing the extension data and returns its length.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 74 of file UdpHostCache.cpp. |
|
|
Reads the extension data from stream.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 66 of file UdpHostCache.cpp. |
|
|
Definition at line 72 of file UdpHostCache.h. |
|
|
Writes the extension data to the stream;.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 80 of file UdpHostCache.cpp. |
|
|
Definition at line 39 of file UdpHostCache.h. |
|
|
Reimplemented from Gnutella::Packets::Extensions::Ggep. |