Gnutella::Packets::Packet::Data Struct Reference

List of all members.

Detailed Description

Stores the private members of Packet.

Definition at line 186 of file Packet.h.

Public Attributes

QBasicAtomic ref
 Reference counter.
QUuid descriptorId
 The desctiptor ID header field.
PayloadDescriptor payloadDescriptor
 The payload desctiptor header filed.
uchar ttl
 The time to live header field.
uchar hops
 The hops header field.
quint32 payloadLength
 The payload length header field.
bool isValid
 A flag determining whether the packet was parsed successfully and it is valid.
QByteArray rawHeader
 Stores the cached raw bytes of the header.
QByteArray rawPayload
 Stores the cached raw bytes of the payload.
bool rewriteHeader
 A flag determining whether the cached rawHeader needs to be rebuilt.
bool rewritePayload
 A flag determining whether the cached rawPayload needs to be rebuilt.


Member Data Documentation

QUuid Gnutella::Packets::Packet::Data::descriptorId
 

The desctiptor ID header field.

Definition at line 190 of file Packet.h.

uchar Gnutella::Packets::Packet::Data::hops
 

The hops header field.

Definition at line 193 of file Packet.h.

bool Gnutella::Packets::Packet::Data::isValid
 

A flag determining whether the packet was parsed successfully and it is valid.

See also:
Packet::parse()

Definition at line 196 of file Packet.h.

PayloadDescriptor Gnutella::Packets::Packet::Data::payloadDescriptor
 

The payload desctiptor header filed.

Definition at line 191 of file Packet.h.

quint32 Gnutella::Packets::Packet::Data::payloadLength [mutable]
 

The payload length header field.

Definition at line 194 of file Packet.h.

QByteArray Gnutella::Packets::Packet::Data::rawHeader [mutable]
 

Stores the cached raw bytes of the header.

See also:
Packet::rawHeader()

Definition at line 197 of file Packet.h.

QByteArray Gnutella::Packets::Packet::Data::rawPayload [mutable]
 

Stores the cached raw bytes of the payload.

See also:
Packet::rawPayload()

Definition at line 198 of file Packet.h.

QBasicAtomic Gnutella::Packets::Packet::Data::ref
 

Reference counter.

Definition at line 188 of file Packet.h.

bool Gnutella::Packets::Packet::Data::rewriteHeader [mutable]
 

A flag determining whether the cached rawHeader needs to be rebuilt.

See also:
rawHeader()

Definition at line 199 of file Packet.h.

bool Gnutella::Packets::Packet::Data::rewritePayload [mutable]
 

A flag determining whether the cached rawPayload needs to be rebuilt.

See also:
rawPayload()

Definition at line 200 of file Packet.h.

uchar Gnutella::Packets::Packet::Data::ttl
 

The time to live header field.

Definition at line 192 of file Packet.h.


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