llarp::dht::FindIntroMessage

Inherits from llarp::dht::IMessage

Public Functions

Name
FindIntroMessage(const Key_t & from, bool relay, uint64_t order)
FindIntroMessage(const llarp::service::Tag & tag, uint64_t txid)
FindIntroMessage(uint64_t txid, const Key_t & addr, uint64_t order)
~FindIntroMessage() override
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(llarp_dht_context * ctx, std::vector< IMessage::Ptr_t > & replies) const override

Public Attributes

Name
Key_t location
llarp::service::Tag tagName
uint64_t txID
bool relayed
uint64_t relayOrder

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 FindIntroMessage

inline FindIntroMessage(
    const Key_t & from,
    bool relay,
    uint64_t order
)

function FindIntroMessage

inline FindIntroMessage(
    const llarp::service::Tag & tag,
    uint64_t txid
)

function FindIntroMessage

inline explicit FindIntroMessage(
    uint64_t txid,
    const Key_t & addr,
    uint64_t order
)

function ~FindIntroMessage

~FindIntroMessage() override

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(
    llarp_dht_context * ctx,
    std::vector< IMessage::Ptr_t > & replies
) const override

Reimplements: llarp::dht::IMessage::HandleMessage

Public Attributes Documentation

variable location

Key_t location;

variable tagName

llarp::service::Tag tagName;

variable txID

uint64_t txID = 0;

variable relayed

bool relayed = false;

variable relayOrder

uint64_t relayOrder = 0;

Updated on 2026-01-10 at 22:49:45 +0000