llarp::routing::DHTMessage
Inherits from llarp::routing::IMessage
Public Functions
| Name | |
|---|---|
| ~DHTMessage() override =default | |
| virtual bool | DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * val) override |
| virtual bool | BEncode(llarp_buffer_t * buf) const override |
| virtual bool | HandleMessage(IMessageHandler * h, AbstractRouter * r) const override |
| virtual void | Clear() override |
Public Attributes
| Name | |
|---|---|
| std::vector< llarp::dht::IMessage::Ptr_t > | M |
| uint64_t | V |
Additional inherited members
Public Functions inherited from llarp::routing::IMessage
| Name | |
|---|---|
| IMessage() =default | |
| virtual | ~IMessage() =default |
| bool | operator<(const IMessage & other) const |
Public Attributes inherited from llarp::routing::IMessage
| Name | |
|---|---|
| PathID_t | from |
| uint64_t | S |
| uint64_t | version |
Public Functions Documentation
function ~DHTMessage
~DHTMessage() override =default
function DecodeKey
virtual bool DecodeKey(
const llarp_buffer_t & key,
llarp_buffer_t * val
) override
Reimplements: llarp::routing::IMessage::DecodeKey
function BEncode
virtual bool BEncode(
llarp_buffer_t * buf
) const override
Reimplements: llarp::routing::IMessage::BEncode
function HandleMessage
virtual bool HandleMessage(
IMessageHandler * h,
AbstractRouter * r
) const override
Reimplements: llarp::routing::IMessage::HandleMessage
function Clear
inline virtual void Clear() override
Reimplements: llarp::routing::IMessage::Clear
Public Attributes Documentation
variable M
std::vector< llarp::dht::IMessage::Ptr_t > M;
variable V
uint64_t V = 0;
Updated on 2026-01-10 at 22:49:45 +0000