libjmmcg
build_2176
A C++ library containing an eclectic mix of useful, advanced components.
|
An implementation of the connectivity policy for the BATSBOE protocol. More...
#include <connectivity_policy.hpp>
Classes | |
struct | gateways_t |
Public Types | |
enum | : unsigned { max_attempts =3 } |
using | logon_args_t = LogonT |
using | endpoint_t = std::pair< boost::asio::ip::address, unsigned short > |
Public Member Functions | |
connectivity_policy (gateways_t const &gws, logon_args_t const &logon, logoff_args_t const &logoff) noexcept(true) | |
template<class ConnectFn > | |
void | operator() (ConnectFn const &cnx) const |
Public Attributes | |
const gateways_t | gateways |
const logon_args_t | logon_args |
const logoff_args_t | logoff_args |
Static Public Attributes | |
static constexpr std::chrono::seconds | min_timeout {5} |
An implementation of the connectivity policy for the BATSBOE protocol.
From section 2.2 "Login, Replay & Sequencing" of the EU & US specifications.
Definition at line 40 of file connectivity_policy.hpp.
using jmmcg::exchanges::BATSBOE::common::connectivity_policy< LogonT >::endpoint_t = std::pair<boost::asio::ip::address, unsigned short> |
Definition at line 43 of file connectivity_policy.hpp.
using jmmcg::exchanges::BATSBOE::common::connectivity_policy< LogonT >::logon_args_t = LogonT |
Definition at line 42 of file connectivity_policy.hpp.
anonymous enum : unsigned |
Enumerator | |
---|---|
max_attempts |
Definition at line 54 of file connectivity_policy.hpp.
|
inlineexplicitnoexcept |
Definition at line 25 of file connectivity_policy_impl.hpp.
|
inline |
Definition at line 30 of file connectivity_policy_impl.hpp.
const gateways_t jmmcg::exchanges::BATSBOE::common::connectivity_policy< LogonT >::gateways |
Definition at line 58 of file connectivity_policy.hpp.
const logoff_args_t jmmcg::exchanges::BATSBOE::common::connectivity_policy< LogonT >::logoff_args |
Definition at line 60 of file connectivity_policy.hpp.
const logon_args_t jmmcg::exchanges::BATSBOE::common::connectivity_policy< LogonT >::logon_args |
Definition at line 59 of file connectivity_policy.hpp.
|
static |
Definition at line 57 of file connectivity_policy.hpp.