llarp::routing::TransferTrafficMessage

Inherits from llarp::routing::IMessage

Public Functions

Name
virtual void Clear() override
size_t Size() const
bool PutBuffer(const llarp_buffer_t & buf, uint64_t counter)
append buffer to X
virtual bool BEncode(llarp_buffer_t * buf) const override
virtual bool DecodeKey(const llarp_buffer_t & k, llarp_buffer_t * val) override
virtual bool HandleMessage(IMessageHandler * h, AbstractRouter * r) const override

Public Attributes

Name
std::vector< llarp::Encrypted< MaxExitMTU+ExitOverhead > > X
service::ProtocolType protocol
size_t _size

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 Clear

inline virtual void Clear() override

Reimplements: llarp::routing::IMessage::Clear

function Size

inline size_t Size() const

function PutBuffer

bool PutBuffer(
    const llarp_buffer_t & buf,
    uint64_t counter
)

append buffer to X

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 & k,
    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

Public Attributes Documentation

variable X

std::vector< llarp::Encrypted< MaxExitMTU+ExitOverhead > > X;

variable protocol

service::ProtocolType protocol;

variable _size

size_t _size = 0;

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