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


The Ping packet is used for discovering hosts on the network.
Definition at line 38 of file Ping.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. | |
| Ping (const GgepBlock &ggepBlock=GgepBlock()) | |
| GgepBlock | ggepBlock () const |
| Getter for the packet field ggepBlock. | |
| void | setGgepBlock (const GgepBlock &) |
| Setter for the packet field ggepBlock. | |
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 |
| Ping packet's private data. More... | |
|
|
|
|
|
Virtual copy constructor.
Implements Protocols::Gnutella::Packets::PacketBase. |
|
|
Getter for the packet field ggepBlock.
|
|
|
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. |
|
|
Setter for the packet field ggepBlock.
|
|
|
Writes the packet's payload fields.
Implements Protocols::Gnutella::Packets::PacketBase. |