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


The HaveAll packet contains no payload. It could be sent right after handshaking to indicate that a peer has all pieces available.
Definition at line 40 of file HaveAll.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. | |
| HaveAll () | |
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 |
| HaveAll packet's private data. More... | |
|
|
Definition at line 40 of file HaveAll.cpp. |
|
|
Virtual copy constructor.
Implements Protocols::BitTorrent::Packets::PacketBase. Definition at line 34 of file HaveAll.cpp. |
|
|
Returns the name of the PacketBase type the dynamic object belongs to.
Implements Protocols::BitTorrent::Packets::PacketBase. Definition at line 28 of file HaveAll.cpp. |
|
|
|
|
|
Reads the packet's payload fields.
Implements Protocols::BitTorrent::Packets::PacketBase. Definition at line 46 of file HaveAll.cpp. |
|
|
Writes the packet's payload fields.
Implements Protocols::BitTorrent::Packets::PacketBase. Definition at line 51 of file HaveAll.cpp. |