1 #ifndef BLANK_CLIENT_CHUNKRECEIVER_HPP_
2 #define BLANK_CLIENT_CHUNKRECEIVER_HPP_
4 #include "../app/IntervalTimer.hpp"
5 #include "../net/Packet.hpp"
17 class ChunkTransmission;
22 explicit ChunkReceiver(ChunkStore &);
27 void Handle(const Packet::ChunkBegin &);
28 void Handle(const Packet::ChunkData &);
31 ChunkTransmission &GetTransmission(std::uint32_t id);
32 void Commit(ChunkTransmission &);
36 std::list<ChunkTransmission> transmissions;