llarp::service::Session
Public Functions
| Name | |
|---|---|
| void | RX() called to indicate we recieved on this session |
| void | TX() called to indicate we transimitted on this session |
| bool | IsExpired(llarp_time_t now, llarp_time_t lifetime =SessionLifetime) const |
| Address | Addr() const |
Public Attributes
| Name | |
|---|---|
| Introduction | replyIntro the intro we have |
| SharedSecret | sharedKey |
| ServiceInfo | remote |
| Introduction | intro the intro they have |
| uint64_t | seqno the sequence number we are to use for the next message |
| uint64_t | messagesSend number of remote messages we sent to them |
| uint64_t | messagesRecv number of remote messages we got from them |
| bool | inbound |
| bool | forever |
| Duration_t | lastSend |
| Duration_t | lastRecv |
Public Functions Documentation
function RX
void RX()
called to indicate we recieved on this session
function TX
void TX()
called to indicate we transimitted on this session
function IsExpired
bool IsExpired(
llarp_time_t now,
llarp_time_t lifetime =SessionLifetime
) const
function Addr
Address Addr() const
Public Attributes Documentation
variable replyIntro
Introduction replyIntro;
the intro we have
variable sharedKey
SharedSecret sharedKey;
variable remote
ServiceInfo remote;
variable intro
Introduction intro;
the intro they have
variable seqno
uint64_t seqno = 0;
the sequence number we are to use for the next message
variable messagesSend
uint64_t messagesSend = 0;
number of remote messages we sent to them
variable messagesRecv
uint64_t messagesRecv = 0;
number of remote messages we got from them
variable inbound
bool inbound = false;
variable forever
bool forever = false;
variable lastSend
Duration_t lastSend {};
variable lastRecv
Duration_t lastRecv {};
Updated on 2026-01-10 at 22:49:45 +0000