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


Definition at line 39 of file IpPort.h.
Public Member Functions | |
| IpPort (const GgepId &id, int flags, int dataSize) | |
| IpPort (const QList< NodeAddress > &nodeAddresses) | |
| IpPort * | copy () const |
| QList< NodeAddress > | addresses () const |
| void | setAddresses (const QList< NodeAddress > &addresses) |
Static Public Member Functions | |
| static const IpPort * | 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::IpPort::Private | p |
Classes | |
| struct | Private |
|
||||||||||||||||
|
Definition at line 35 of file IpPort.cpp. |
|
|
Definition at line 40 of file IpPort.cpp. |
|
|
|
|
|
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 57 of file IpPort.cpp. |
|
|
Definition at line 46 of file IpPort.cpp. |
|
|
Verifies the structure of rawData.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 62 of file IpPort.cpp. |
|
|
Prepares for writing the extension data and returns its length.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 81 of file IpPort.cpp. |
|
|
Reads the extension data from stream.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 67 of file IpPort.cpp. |
|
|
|
|
|
Writes the extension data to the stream;.
Implements Gnutella::Packets::Extensions::Ggep. Definition at line 86 of file IpPort.cpp. |
|
|
|
|
|
Reimplemented from Gnutella::Packets::Extensions::Ggep. |