Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
Mads::detail::SocketOptions Struct Reference

#include <socket_options.hpp>

Public Member Functions

void apply (zmq::socket_t &socket) const
 

Static Public Member Functions

static SocketOptions resolve (toml::node_view< toml::node > fleet_cfg, toml::node_view< toml::node > agent_cfg)
 

Public Attributes

std::optional< int > tcp_keepalive
 
std::optional< int > tcp_keepalive_idle
 
std::optional< int > tcp_keepalive_cnt
 
std::optional< int > tcp_keepalive_intvl
 
std::optional< int > sndbuf
 
std::optional< int > rcvbuf
 
std::optional< int > heartbeat_ivl
 
std::optional< int > heartbeat_ttl
 
std::optional< int > heartbeat_timeout
 
std::optional< int > reconnect_ivl
 
std::optional< int > reconnect_ivl_max
 
std::optional< bool > immediate
 
std::optional< int64_t > max_msg_size
 

Detailed Description

Definition at line 37 of file socket_options.hpp.

Member Function Documentation

◆ apply()

void Mads::detail::SocketOptions::apply ( zmq::socket_t &  socket) const
inline

◆ resolve()

static SocketOptions Mads::detail::SocketOptions::resolve ( toml::node_view< toml::node >  fleet_cfg,
toml::node_view< toml::node >  agent_cfg 
)
inlinestatic

Member Data Documentation

◆ heartbeat_ivl

std::optional<int> Mads::detail::SocketOptions::heartbeat_ivl

Definition at line 47 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ heartbeat_timeout

std::optional<int> Mads::detail::SocketOptions::heartbeat_timeout

Definition at line 49 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ heartbeat_ttl

std::optional<int> Mads::detail::SocketOptions::heartbeat_ttl

Definition at line 48 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ immediate

std::optional<bool> Mads::detail::SocketOptions::immediate

Definition at line 55 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ max_msg_size

std::optional<int64_t> Mads::detail::SocketOptions::max_msg_size

Definition at line 59 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ rcvbuf

std::optional<int> Mads::detail::SocketOptions::rcvbuf

Definition at line 43 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ reconnect_ivl

std::optional<int> Mads::detail::SocketOptions::reconnect_ivl

Definition at line 51 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ reconnect_ivl_max

std::optional<int> Mads::detail::SocketOptions::reconnect_ivl_max

Definition at line 52 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ sndbuf

std::optional<int> Mads::detail::SocketOptions::sndbuf

Definition at line 42 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ tcp_keepalive

std::optional<int> Mads::detail::SocketOptions::tcp_keepalive

Definition at line 38 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ tcp_keepalive_cnt

std::optional<int> Mads::detail::SocketOptions::tcp_keepalive_cnt

Definition at line 40 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ tcp_keepalive_idle

std::optional<int> Mads::detail::SocketOptions::tcp_keepalive_idle

Definition at line 39 of file socket_options.hpp.

Referenced by apply(), and resolve().

◆ tcp_keepalive_intvl

std::optional<int> Mads::detail::SocketOptions::tcp_keepalive_intvl

Definition at line 41 of file socket_options.hpp.

Referenced by apply(), and resolve().


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