fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::LoginParameters Struct Reference

#include <session.hpp>

Public Member Functions

 LoginParameters ()=default
 
 LoginParameters (unsigned login_retry_interval, unsigned login_retries, const default_appl_ver_id &davi, unsigned connect_timeout, bool reset_seqnum=false, bool always_seqnum_assign=false, bool silent_disconnect=false, bool no_chksum_flag=false, bool permissive_mode_flag=false, bool reliable=false, bool enforce_compids=true, unsigned recv_buf_sz=0, unsigned send_buf_sz=0, unsigned hb_int=defaults::hb_interval, const Schedule &sch=Schedule(), const Clients &clients=Clients(), const f8String &pem_path=f8String())
 
 LoginParameters (const LoginParameters &from)
 
LoginParametersoperator= (const LoginParameters &that)
 

Public Attributes

unsigned _login_retry_interval = defaults::retry_interval
 
unsigned _login_retries = defaults::login_retries
 
unsigned _connect_timeout = defaults::connect_timeout
 
bool _reset_sequence_numbers = false
 
bool _always_seqnum_assign
 
bool _silent_disconnect = false
 
bool _no_chksum_flag = false
 
bool _permissive_mode_flag = false
 
bool _reliable = false
 
bool _enforce_compids =true
 
default_appl_ver_id _davi
 
unsigned _recv_buf_sz = 0
 
unsigned _send_buf_sz = 0
 
unsigned _hb_int = defaults::hb_interval
 
Schedule _login_schedule
 
Clients _clients
 
f8String _pem_path
 

Detailed Description

Definition at line 301 of file session.hpp.

Constructor & Destructor Documentation

FIX8::LoginParameters::LoginParameters ( )
default
FIX8::LoginParameters::LoginParameters ( unsigned  login_retry_interval,
unsigned  login_retries,
const default_appl_ver_id davi,
unsigned  connect_timeout,
bool  reset_seqnum = false,
bool  always_seqnum_assign = false,
bool  silent_disconnect = false,
bool  no_chksum_flag = false,
bool  permissive_mode_flag = false,
bool  reliable = false,
bool  enforce_compids = true,
unsigned  recv_buf_sz = 0,
unsigned  send_buf_sz = 0,
unsigned  hb_int = defaults::hb_interval,
const Schedule sch = Schedule(),
const Clients clients = Clients(),
const f8String pem_path = f8String() 
)
inline

Definition at line 305 of file session.hpp.

310  :
312  _reset_sequence_numbers(reset_seqnum), _always_seqnum_assign(always_seqnum_assign),
313  _silent_disconnect(silent_disconnect), _no_chksum_flag(no_chksum_flag),
314  _permissive_mode_flag(permissive_mode_flag), _reliable(reliable), _enforce_compids(enforce_compids),
315  _davi(davi), _recv_buf_sz(recv_buf_sz), _send_buf_sz(send_buf_sz), _hb_int(hb_int),
316  _login_schedule(sch), _clients(clients), _pem_path(pem_path) {}
unsigned _login_retry_interval
Definition: session.hpp:353
default_appl_ver_id _davi
Definition: session.hpp:357
Schedule _login_schedule
Definition: session.hpp:359
unsigned _connect_timeout
Definition: session.hpp:354
unsigned _login_retries
Definition: session.hpp:353
FIX8::LoginParameters::LoginParameters ( const LoginParameters from)
inline

Definition at line 318 of file session.hpp.

319  : _login_retry_interval(from._login_retry_interval), _login_retries(from._login_retries),
320  _connect_timeout(from._connect_timeout), _reset_sequence_numbers(from._reset_sequence_numbers),
321  _always_seqnum_assign(from._always_seqnum_assign), _silent_disconnect(from._silent_disconnect),
322  _no_chksum_flag(from._no_chksum_flag), _permissive_mode_flag(from._permissive_mode_flag),
323  _reliable(from._reliable), _enforce_compids(from._enforce_compids), _davi(from._davi),
324  _recv_buf_sz(from._recv_buf_sz), _send_buf_sz(from._send_buf_sz), _hb_int(from._hb_int),
325  _login_schedule(from._login_schedule), _clients(from._clients), _pem_path(from._pem_path)
326  {}
unsigned _login_retry_interval
Definition: session.hpp:353
default_appl_ver_id _davi
Definition: session.hpp:357
Schedule _login_schedule
Definition: session.hpp:359
unsigned _connect_timeout
Definition: session.hpp:354
unsigned _login_retries
Definition: session.hpp:353

Member Function Documentation

LoginParameters& FIX8::LoginParameters::operator= ( const LoginParameters that)
inline

Definition at line 328 of file session.hpp.

References _always_seqnum_assign, _clients, _connect_timeout, _davi, _enforce_compids, _hb_int, _login_retries, _login_retry_interval, _login_schedule, _no_chksum_flag, _pem_path, _permissive_mode_flag, _recv_buf_sz, _reliable, _reset_sequence_numbers, _send_buf_sz, and _silent_disconnect.

329  {
330  if (this != &that)
331  {
332  _login_retry_interval = that._login_retry_interval;
333  _login_retries = that._login_retries;
334  _connect_timeout = that._connect_timeout;
335  _reset_sequence_numbers = that._reset_sequence_numbers;
336  _always_seqnum_assign = that._always_seqnum_assign;
337  _silent_disconnect = that._silent_disconnect;
338  _no_chksum_flag = that._no_chksum_flag;
339  _permissive_mode_flag = that._permissive_mode_flag;
340  _reliable = that._reliable;
341  _enforce_compids = that._enforce_compids;
342  _davi = that._davi;
343  _recv_buf_sz = that._recv_buf_sz;
344  _send_buf_sz = that._send_buf_sz;
345  _hb_int = that._hb_int;
346  _login_schedule = that._login_schedule;
347  _clients = that._clients;
348  _pem_path = that._pem_path;
349  }
350  return *this;
351  }
unsigned _login_retry_interval
Definition: session.hpp:353
default_appl_ver_id _davi
Definition: session.hpp:357
Schedule _login_schedule
Definition: session.hpp:359
unsigned _connect_timeout
Definition: session.hpp:354
unsigned _login_retries
Definition: session.hpp:353

Member Data Documentation

bool FIX8::LoginParameters::_always_seqnum_assign

Definition at line 355 of file session.hpp.

Referenced by operator=(), and FIX8::Session::send_process().

Clients FIX8::LoginParameters::_clients

Definition at line 360 of file session.hpp.

Referenced by FIX8::Session::handle_logon(), and operator=().

unsigned FIX8::LoginParameters::_connect_timeout = defaults::connect_timeout

Definition at line 354 of file session.hpp.

Referenced by operator=().

default_appl_ver_id FIX8::LoginParameters::_davi

Definition at line 357 of file session.hpp.

Referenced by FIX8::ReliableClientSession< T >::operator()(), and operator=().

bool FIX8::LoginParameters::_enforce_compids =true
unsigned FIX8::LoginParameters::_hb_int = defaults::hb_interval
unsigned FIX8::LoginParameters::_login_retries = defaults::login_retries

Definition at line 353 of file session.hpp.

Referenced by FIX8::ReliableClientSession< T >::operator()(), and operator=().

unsigned FIX8::LoginParameters::_login_retry_interval = defaults::retry_interval

Definition at line 353 of file session.hpp.

Referenced by FIX8::ReliableClientSession< T >::operator()(), and operator=().

Schedule FIX8::LoginParameters::_login_schedule

Definition at line 359 of file session.hpp.

Referenced by FIX8::Session::handle_logon(), and operator=().

bool FIX8::LoginParameters::_no_chksum_flag = false

Definition at line 355 of file session.hpp.

Referenced by operator=(), and FIX8::Session::process().

f8String FIX8::LoginParameters::_pem_path

Definition at line 361 of file session.hpp.

Referenced by operator=().

bool FIX8::LoginParameters::_permissive_mode_flag = false

Definition at line 356 of file session.hpp.

Referenced by operator=(), and FIX8::Session::process().

unsigned FIX8::LoginParameters::_recv_buf_sz = 0

Definition at line 358 of file session.hpp.

Referenced by operator=(), and FIX8::ServerSession< T >::ServerSession().

bool FIX8::LoginParameters::_reliable = false
bool FIX8::LoginParameters::_reset_sequence_numbers = false
unsigned FIX8::LoginParameters::_send_buf_sz = 0

Definition at line 358 of file session.hpp.

Referenced by operator=(), and FIX8::ServerSession< T >::ServerSession().

bool FIX8::LoginParameters::_silent_disconnect = false

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