Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::NodeInfo Struct Reference

#include <routing_table.h>

Collaboration diagram for jami::NodeInfo:
Collaboration graph

Public Member Functions

 NodeInfo ()=delete
 
 NodeInfo (bool mobile, std::shared_ptr< dhtnet::ChannelSocketInterface > socket_)
 
 NodeInfo (NodeInfo &&)=default
 
 NodeInfo (std::shared_ptr< dhtnet::ChannelSocketInterface > socket_)
 

Public Attributes

bool isMobile_ {false}
 
asio::steady_timer refresh_timer {*Manager::instance().ioContext(), FIND_PERIOD}
 
std::shared_ptr< dhtnet::ChannelSocketInterface > socket {}
 

Detailed Description

Definition at line 40 of file routing_table.h.

Constructor & Destructor Documentation

◆ NodeInfo() [1/4]

jami::NodeInfo::NodeInfo ( )
delete

◆ NodeInfo() [2/4]

jami::NodeInfo::NodeInfo ( NodeInfo &&  )
default

◆ NodeInfo() [3/4]

jami::NodeInfo::NodeInfo ( std::shared_ptr< dhtnet::ChannelSocketInterface >  socket_)
inline

Definition at line 47 of file routing_table.h.

◆ NodeInfo() [4/4]

jami::NodeInfo::NodeInfo ( bool  mobile,
std::shared_ptr< dhtnet::ChannelSocketInterface >  socket_ 
)
inline

Definition at line 50 of file routing_table.h.

Member Data Documentation

◆ isMobile_

bool jami::NodeInfo::isMobile_ {false}

Definition at line 42 of file routing_table.h.

◆ refresh_timer

asio::steady_timer jami::NodeInfo::refresh_timer {*Manager::instance().ioContext(), FIND_PERIOD}

Definition at line 44 of file routing_table.h.

◆ socket

std::shared_ptr<dhtnet::ChannelSocketInterface> jami::NodeInfo::socket {}

Definition at line 43 of file routing_table.h.


The documentation for this struct was generated from the following file: