#include <Query.h> [code]
Inherits Protocols::Gnutella::Packets::PacketBase.
Inheritance diagram for Protocols::Gnutella::Packets::Query:


The primary mechanism for searching the distributed network
Definition at line 38 of file Query.h.
Public Member Functions | |
| QString | name () const |
| Returns the name of the PacketBase type the dynamic object belongs to. | |
| auto_ptr< DataBase > | copy () const |
| Virtual copy constructor. | |
| Query (const MinSpeed &minSpeed=MinSpeed(), const QByteArray &searchCriteria=QByteArray(), const QueryData &extension=QueryData()) | |
| MinSpeed | minSpeed () const |
| Getter for the packet field minSpeed. | |
| void | setMinSpeed (const MinSpeed &) |
| Setter for the packet field minSpeed. | |
| QByteArray | searchCriteria () const |
| Getter for the packet field searchCriteria. | |
| void | setSearchCriteria (const QByteArray &) |
| Setter for the packet field searchCriteria. | |
| QueryData | extension () const |
| Getter for the packet field extension. | |
| void | setExtension (const QueryData &) |
| Setter for the packet field extension. | |
Protected Member Functions | |
| void | readPayload (BinaryReader &) |
| Reads the packet's payload fields. | |
| void | writePayload (BinaryWriter &) const |
| Writes the packet's payload fields. | |
| Q_DECLARE_SHARED_DATA (Data) | |
Classes | |
| class | Data |
| Query packet's private data. More... | |
|
||||||||||||||||
|
|
|
|
Virtual copy constructor.
Implements Protocols::Gnutella::Packets::PacketBase. |
|
|
Getter for the packet field extension.
|
|
|
Getter for the packet field minSpeed.
|
|
|
Returns the name of the PacketBase type the dynamic object belongs to.
Implements Protocols::Gnutella::Packets::PacketBase. |
|
|
|
|
|
Reads the packet's payload fields.
Implements Protocols::Gnutella::Packets::PacketBase. |
|
|
Getter for the packet field searchCriteria.
|
|
|
Setter for the packet field extension.
|
|
|
Setter for the packet field minSpeed.
|
|
|
Setter for the packet field searchCriteria.
|
|
|
Writes the packet's payload fields.
Implements Protocols::Gnutella::Packets::PacketBase. |