llarp::dht::GotNameMessage
Inherits from llarp::dht::IMessage
Public Functions
| Name | |
|---|---|
| GotNameMessage(const Key_t & from, uint64_t txid, service::EncryptedName data) | |
| virtual bool | BEncode(llarp_buffer_t * buf) const override |
| virtual bool | DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * val) override |
| virtual bool | HandleMessage(struct llarp_dht_context * dht, std::vector< Ptr_t > & replies) const override |
Public Attributes
| Name | |
|---|---|
| service::EncryptedName | result |
| uint64_t | TxID |
Additional inherited members
Public Types inherited from llarp::dht::IMessage
| Name | |
|---|---|
| using std::unique_ptr< IMessage > | Ptr_t |
Public Functions inherited from llarp::dht::IMessage
| Name | |
|---|---|
| virtual | ~IMessage() =default |
| IMessage(const Key_t & from) construct |
Public Attributes inherited from llarp::dht::IMessage
| Name | |
|---|---|
| Key_t | From |
| PathID_t | pathID |
| uint64_t | version |
Public Functions Documentation
function GotNameMessage
explicit GotNameMessage(
const Key_t & from,
uint64_t txid,
service::EncryptedName data
)
function BEncode
virtual bool BEncode(
llarp_buffer_t * buf
) const override
Reimplements: llarp::dht::IMessage::BEncode
function DecodeKey
virtual bool DecodeKey(
const llarp_buffer_t & key,
llarp_buffer_t * val
) override
Reimplements: llarp::dht::IMessage::DecodeKey
function HandleMessage
virtual bool HandleMessage(
struct llarp_dht_context * dht,
std::vector< Ptr_t > & replies
) const override
Reimplements: llarp::dht::IMessage::HandleMessage
Public Attributes Documentation
variable result
service::EncryptedName result;
variable TxID
uint64_t TxID;
Updated on 2026-01-10 at 22:49:45 +0000