#include <packets.h>
Inheritance diagram for ED2KPacket::DataChunk:

Public Member Functions | |
| DataChunk (Hash< ED2KHash > hash, uint32_t begin, uint32_t end, const std::string &data) | |
| DataChunk (std::istream &i) | |
| operator std::string () | |
| const std::string & | getData () const |
| uint32_t | getBegin () const |
| uint32_t | getEnd () const |
Private Attributes | |
| Hash< ED2KHash > | m_hash |
| File hash where the data belongs to. | |
| uint32_t | m_begin |
| Begin offset (inclusive). | |
| uint32_t | m_end |
| End offset (exclusive). | |
| std::string | m_data |
| The data. | |
Definition at line 800 of file packets.h.
|
||||||||||||||||||||
|
Definition at line 1045 of file packets.cpp. |
|
|
Definition at line 1053 of file packets.cpp. |
|
|
Definition at line 1059 of file packets.cpp. References m_begin, m_data, m_end, m_hash, ED2KPacket::Packet::makePacket(), and OP_SENDINGCHUNK. |
|
|
Definition at line 809 of file packets.h. References m_data. |
|
|
Definition at line 810 of file packets.h. References m_begin. |
|
|
Definition at line 811 of file packets.h. References m_end. |
|
|
File hash where the data belongs to.
Definition at line 813 of file packets.h. Referenced by DataChunk(), and operator std::string(). |
|
|
Begin offset (inclusive).
Definition at line 814 of file packets.h. Referenced by DataChunk(), getBegin(), and operator std::string(). |
|
|
End offset (exclusive).
Definition at line 815 of file packets.h. Referenced by DataChunk(), getEnd(), and operator std::string(). |
|
|
The data.
Definition at line 816 of file packets.h. Referenced by DataChunk(), getData(), and operator std::string(). |