llarp::LinkIntroMessage
Inherits from llarp::ILinkMessage
Public Functions
| Name | |
|---|---|
| LinkIntroMessage() | |
| virtual bool | DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * buf) override |
| virtual bool | BEncode(llarp_buffer_t * buf) const override |
| virtual bool | HandleMessage(AbstractRouter * router) const override |
| bool | Sign(std::function< bool(Signature &, const llarp_buffer_t &)> signer) |
| bool | Verify() const |
| virtual void | Clear() override |
| virtual const char * | Name() const override |
| virtual uint16_t | Priority() const override get message prority, higher value means more important |
Public Attributes
| Name | |
|---|---|
| constexpr size_t | MaxSize |
| RouterContact | rc |
| KeyExchangeNonce | N |
| Signature | Z |
| uint64_t | P |
Additional inherited members
Public Functions inherited from llarp::ILinkMessage
| Name | |
|---|---|
| ILinkMessage() =default | |
| virtual | ~ILinkMessage() =default |
| bool | BDecode(llarp_buffer_t * buf) |
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 LinkIntroMessage
inline LinkIntroMessage()
function DecodeKey
virtual bool DecodeKey(
const llarp_buffer_t & key,
llarp_buffer_t * buf
) override
Reimplements: llarp::ILinkMessage::DecodeKey
function BEncode
virtual bool BEncode(
llarp_buffer_t * buf
) const override
Reimplements: llarp::ILinkMessage::BEncode
function HandleMessage
virtual bool HandleMessage(
AbstractRouter * router
) const override
Reimplements: llarp::ILinkMessage::HandleMessage
function Sign
bool Sign(
std::function< bool(Signature &, const llarp_buffer_t &)> signer
)
function Verify
bool Verify() const
function Clear
virtual void Clear() override
Reimplements: llarp::ILinkMessage::Clear
function Name
inline virtual const char * Name() const override
Reimplements: llarp::ILinkMessage::Name
function Priority
inline virtual uint16_t Priority() const override
get message prority, higher value means more important
Reimplements: llarp::ILinkMessage::Priority
Public Attributes Documentation
variable MaxSize
static constexpr size_t MaxSize = MAX_RC_SIZE + 256;
variable rc
RouterContact rc;
variable N
KeyExchangeNonce N;
variable Z
Signature Z;
variable P
uint64_t P;
Updated on 2026-01-10 at 22:49:45 +0000