llarp::routing::PathConfirmMessage

Inherits from llarp::routing::IMessage

Public Functions

Name
PathConfirmMessage() =default
PathConfirmMessage(llarp_time_t lifetime)
~PathConfirmMessage() override =default
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(IMessageHandler * h, AbstractRouter * r) const override
virtual void Clear() override

Public Attributes

Name
llarp_time_t pathLifetime
llarp_time_t pathCreated

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 PathConfirmMessage

PathConfirmMessage() =default

function PathConfirmMessage

PathConfirmMessage(
    llarp_time_t lifetime
)

function ~PathConfirmMessage

~PathConfirmMessage() override =default

function BEncode

virtual bool BEncode(
    llarp_buffer_t * buf
) const override

Reimplements: llarp::routing::IMessage::BEncode

function DecodeKey

virtual bool DecodeKey(
    const llarp_buffer_t & key,
    llarp_buffer_t * val
) override

Reimplements: llarp::routing::IMessage::DecodeKey

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 pathLifetime

llarp_time_t pathLifetime = 0s;

variable pathCreated

llarp_time_t pathCreated = 0s;

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