Gnutella::Packets::Extensions::Ggeps::UnknownGgep Class Reference

#include <UnknownGgep.h> [code]

Inherits Gnutella::Packets::Extensions::Ggep.

Inheritance diagram for Gnutella::Packets::Extensions::Ggeps::UnknownGgep:

Inheritance graph
[legend]
Collaboration diagram for Gnutella::Packets::Extensions::Ggeps::UnknownGgep:

Collaboration graph
[legend]
List of all members.

Detailed Description

Encapsualtes an unknown GGEP extension.

Definition at line 38 of file UnknownGgep.h.

Public Member Functions

 UnknownGgep (const GgepId &id, int flags, int dataSize)
UnknownGgepcopy () const

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

QByteArray data


Constructor & Destructor Documentation

Gnutella::Packets::Extensions::Ggeps::UnknownGgep::UnknownGgep const GgepId id,
int  flags,
int  dataSize
[inline]
 

Definition at line 41 of file UnknownGgep.h.


Member Function Documentation

UnknownGgep* Gnutella::Packets::Extensions::Ggeps::UnknownGgep::copy  )  const [inline, virtual]
 

Implements Gnutella::Packets::Extensions::Ggep.

Definition at line 42 of file UnknownGgep.h.

bool UnknownGgep::prepareReadData const QByteArray &  rawData  )  [protected, virtual]
 

Verifies the structure of rawData.

Implements Gnutella::Packets::Extensions::Ggep.

Definition at line 29 of file UnknownGgep.cpp.

int UnknownGgep::prepareWriteData  )  const [protected, virtual]
 

Prepares for writing the extension data and returns its length.

Implements Gnutella::Packets::Extensions::Ggep.

Definition at line 46 of file UnknownGgep.cpp.

void UnknownGgep::readData QDataStream &  stream  )  [protected, virtual]
 

Reads the extension data from stream.

Implements Gnutella::Packets::Extensions::Ggep.

Definition at line 35 of file UnknownGgep.cpp.

void UnknownGgep::writeData QDataStream &  stream  )  const [protected, virtual]
 

Writes the extension data to the stream;.

Implements Gnutella::Packets::Extensions::Ggep.

Definition at line 51 of file UnknownGgep.cpp.


Member Data Documentation

QByteArray Gnutella::Packets::Extensions::Ggeps::UnknownGgep::data [private]
 

Definition at line 51 of file UnknownGgep.h.


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