1 #ifndef BLANK_NET_CHUNKRECEIVER_HPP_
2 #define BLANK_NET_CHUNKRECEIVER_HPP_
5 #include "../app/IntervalTimer.hpp"
14 class ChunkTransmission;
19 explicit ChunkReceiver(ChunkStore &);
24 void Handle(const Packet::ChunkBegin &);
25 void Handle(const Packet::ChunkData &);
28 ChunkTransmission &GetTransmission(std::uint32_t id);
29 void Commit(ChunkTransmission &);
33 std::list<ChunkTransmission> transmissions;