libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
isimud::exchanges::FIX::common::connectivity_policy< LogonT > Class Template Reference

An implementation of the connectivity policy for the FIX protocol. More...

#include <connectivity_policy.hpp>

Collaboration diagram for isimud::exchanges::FIX::common::connectivity_policy< LogonT >:
[legend]

Classes

struct  gateways_t
 

Public Types

enum  : unsigned { max_attempts =1 }
 
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) noexcept(true)
 
template<class ConnectFn >
void operator() (ConnectFn const &cnx) const noexcept(false)
 

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}
 

Detailed Description

template<class LogonT>
class isimud::exchanges::FIX::common::connectivity_policy< LogonT >

An implementation of the connectivity policy for the FIX protocol.

Definition at line 105 of file connectivity_policy.hpp.

Member Typedef Documentation

◆ endpoint_t

template<class LogonT >
using isimud::exchanges::FIX::common::connectivity_policy< LogonT >::endpoint_t = std::pair<boost::asio::ip::address, unsigned short>

Definition at line 125 of file connectivity_policy.hpp.

◆ logon_args_t

template<class LogonT >
using isimud::exchanges::FIX::common::connectivity_policy< LogonT >::logon_args_t = LogonT

Definition at line 124 of file connectivity_policy.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class LogonT >
anonymous enum : unsigned
Enumerator
max_attempts 

Definition at line 136 of file connectivity_policy.hpp.

Constructor & Destructor Documentation

◆ connectivity_policy()

template<class LogonT >
isimud::exchanges::FIX::common::connectivity_policy< LogonT >::connectivity_policy ( gateways_t const &  gws)
inlineexplicitnoexcept

Definition at line 91 of file connectivity_policy_impl.hpp.

Member Function Documentation

◆ operator()()

template<class LogonT >
template<class ConnectFn >
void isimud::exchanges::FIX::common::connectivity_policy< LogonT >::operator() ( ConnectFn const &  cnx) const
inlinenoexcept

Definition at line 96 of file connectivity_policy_impl.hpp.

Member Data Documentation

◆ gateways

template<class LogonT >
const gateways_t isimud::exchanges::FIX::common::connectivity_policy< LogonT >::gateways

Definition at line 140 of file connectivity_policy.hpp.

◆ logoff_args

template<class LogonT >
const logoff_args_t isimud::exchanges::FIX::common::connectivity_policy< LogonT >::logoff_args {}

Definition at line 142 of file connectivity_policy.hpp.

◆ logon_args

template<class LogonT >
const logon_args_t isimud::exchanges::FIX::common::connectivity_policy< LogonT >::logon_args {}

Definition at line 141 of file connectivity_policy.hpp.

◆ min_timeout

template<class LogonT >
constexpr std::chrono::seconds isimud::exchanges::FIX::common::connectivity_policy< LogonT >::min_timeout {5}
inlinestaticconstexpr

Definition at line 139 of file connectivity_policy.hpp.


The documentation for this class was generated from the following files: