Furrent
|
#include <message.hpp>
Public Member Functions | |
std::vector< uint8_t > | encode () const override |
MessageKind | kind () const override |
Additional Inherited Members |
Periodically sent to keep the socket alive. <length=0> (no id) Because this is the only message with no ID, we override the encode
function in its entirety, instead of only overriding encode_payload
.
|
inlineoverridevirtual |
This message type is encoded slightly differently than other messages (there's no ID) so we use a custom encoding function.
Reimplemented from fur::download::message::Message.
|
inlineoverridevirtual |
Returns the kind of this message. Used before dynamic_cast
ing when the underlying type is not known beforehand.
Implements fur::download::message::Message.