|
Furrent
|
#include <message.hpp>


Public Member Functions | |
| HaveMessage (int64_t index) | |
| MessageKind | kind () const override |
Static Public Member Functions | |
| static Result< std::unique_ptr< HaveMessage >, DecodeError > | decode (const std::vector< uint8_t > &buf) |
Public Attributes | |
| const int64_t | index |
| Index of the newly acquired piece. More... | |
Inform the peer that we have acquired a new piece. <length=5><id=4><piece-index>
|
inlineexplicit |
|
static |
|
inlineoverridevirtual |
Returns the kind of this message. Used before dynamic_casting when the underlying type is not known beforehand.
Implements fur::download::message::Message.
| const int64_t fur::download::message::HaveMessage::index |
Index of the newly acquired piece.
1.8.17