fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::States Namespace Reference

Session states and semantics. More...

Enumerations

enum  SessionStates {
  st_none, st_continuous, st_session_terminated, st_wait_for_logon,
  st_not_logged_in, st_logon_sent, st_logon_received, st_logoff_sent,
  st_logoff_received, st_test_request_sent, st_sequence_reset_sent, st_sequence_reset_received,
  st_resend_request_sent, st_resend_request_received, st_num_states
}
 

Functions

static bool is_live (SessionStates ss)
 
static bool is_established (SessionStates ss)
 

Detailed Description

Session states and semantics.

Enumeration Type Documentation

Enumerator
st_none 
st_continuous 
st_session_terminated 
st_wait_for_logon 
st_not_logged_in 
st_logon_sent 
st_logon_received 
st_logoff_sent 
st_logoff_received 
st_test_request_sent 
st_sequence_reset_sent 
st_sequence_reset_received 
st_resend_request_sent 
st_resend_request_received 
st_num_states 

Definition at line 158 of file session.hpp.

Function Documentation

static bool FIX8::States::is_established ( SessionStates  ss)
inlinestatic

Determine if this session is in an established state

Parameters
ssSessateState to test
Returns
true if established

Definition at line 175 of file session.hpp.

References is_live(), st_logon_sent, st_not_logged_in, and st_wait_for_logon.

Referenced by FIX8::Session::enforce().

static bool FIX8::States::is_live ( SessionStates  ss)
inlinestatic

Determine if this session is live

Parameters
ssSessateState to test
Returns
true if live

Definition at line 169 of file session.hpp.

References st_none, and st_session_terminated.

Referenced by is_established().