llarp::DiscardMessage

Inherits from llarp::ILinkMessage

Public Functions

Name
DiscardMessage()
virtual bool BEncode(llarp_buffer_t * buf) const override
virtual void Clear() override
virtual const char * Name() const override
virtual bool DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * buf) override
virtual bool HandleMessage(AbstractRouter * ) const override

Additional inherited members

Public Functions inherited from llarp::ILinkMessage

Name
ILinkMessage() =default
virtual ~ILinkMessage() =default
bool BDecode(llarp_buffer_t * buf)
virtual uint16_t Priority() const
get message prority, higher value means more important

Public Attributes inherited from llarp::ILinkMessage

Name
ILinkSession * session
who did this message come from or is going to
uint64_t version
PathID_t pathid

Public Functions Documentation

function DiscardMessage

inline DiscardMessage()

function BEncode

inline virtual bool BEncode(
    llarp_buffer_t * buf
) const override

Reimplements: llarp::ILinkMessage::BEncode

function Clear

inline virtual void Clear() override

Reimplements: llarp::ILinkMessage::Clear

function Name

inline virtual const char * Name() const override

Reimplements: llarp::ILinkMessage::Name

function DecodeKey

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

Reimplements: llarp::ILinkMessage::DecodeKey

function HandleMessage

inline virtual bool HandleMessage(
    AbstractRouter * 
) const override

Reimplements: llarp::ILinkMessage::HandleMessage


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