pub struct SessionConfig {Show 38 fields
pub session_id: SessionId,
pub connection_type: ConnectionType,
pub heart_bt_int: Duration,
pub heart_bt_int_override: Option<Duration>,
pub socket_connect_host: String,
pub socket_connect_port: u16,
pub socket_accept_port: u16,
pub reconnect_interval: Duration,
pub logon_timeout: Duration,
pub logout_timeout: Duration,
pub reset_on_logon: bool,
pub reset_on_logout: bool,
pub reset_on_disconnect: bool,
pub refresh_on_logon: bool,
pub send_reset_seq_num_flag: bool,
pub persist_messages: bool,
pub check_comp_id: bool,
pub check_latency: bool,
pub max_latency: Duration,
pub send_redundant_resend_requests: bool,
pub timestamp_precision: TimestampPrecision,
pub validate_length_checksum: bool,
pub use_data_dictionary: bool,
pub data_dictionary: Option<String>,
pub transport_data_dictionary: Option<String>,
pub app_data_dictionary: Option<String>,
pub validation: ValidationSettings,
pub enable_last_msg_seq_num_processed: bool,
pub max_messages_in_resend_request: u64,
pub send_logout_before_disconnect_from_timeout: bool,
pub requires_orig_sending_time: bool,
pub send_next_expected_msg_seq_num: bool,
pub tls: TlsSettings,
pub schedule: Schedule,
pub logon_schedule: Schedule,
pub file_store_path: Option<String>,
pub file_log_path: Option<String>,
pub default_appl_ver_id: Option<String>,
}Fields§
§session_id: SessionId§connection_type: ConnectionType§heart_bt_int: DurationNegotiated heartbeat interval. Required for initiators; acceptors
adopt the initiator’s value unless HeartBtIntOverride is set.
heart_bt_int_override: Option<Duration>§socket_connect_host: String§socket_connect_port: u16§socket_accept_port: u16§reconnect_interval: Duration§logon_timeout: Duration§logout_timeout: Duration§reset_on_logon: bool§reset_on_logout: bool§reset_on_disconnect: bool§refresh_on_logon: bool§send_reset_seq_num_flag: boolSend ResetSeqNumFlag(141)=Y on our Logon.
persist_messages: bool§check_comp_id: bool§check_latency: bool§max_latency: Duration§send_redundant_resend_requests: bool§timestamp_precision: TimestampPrecision§validate_length_checksum: bool§use_data_dictionary: bool§data_dictionary: Option<String>§transport_data_dictionary: Option<String>FIXT sessions: session-level dictionary (FIXT11.xml).
app_data_dictionary: Option<String>FIXT sessions: application-level dictionary (FIX50.xml etc).
validation: ValidationSettings§enable_last_msg_seq_num_processed: boolStamp LastMsgSeqNumProcessed(369) on every outgoing header.
max_messages_in_resend_request: u64Cap ResendRequests to this many messages per chunk (0 = unlimited, EndSeqNo sent as 0/999999 “infinity”).
send_logout_before_disconnect_from_timeout: boolSend a Logout before disconnecting on heartbeat timeout.
requires_orig_sending_time: boolRequire OrigSendingTime(122) on PossDup messages (default Y).
send_next_expected_msg_seq_num: boolNegotiate sequence recovery via NextExpectedMsgSeqNum(789) on the
Logon handshake (C++ SendNextExpectedMsgSeqNum, go
EnableNextExpectedMsgSeqNum). Default off, like both references.
tls: TlsSettingsTLS transport settings (go-style Socket* keys). See TlsSettings.
schedule: ScheduleWhen the session is active and resets (StartTime/EndTime,
StartDay/EndDay, NonStopSession, UseLocalTime). Non-stop by
default (no times configured).
logon_schedule: ScheduleWhen logons are accepted (LogonTime/LogoutTime,
LogonDay/LogoutDay); defaults to the session schedule.
file_store_path: Option<String>§file_log_path: Option<String>§default_appl_ver_id: Option<String>FIXT.1.1 sessions: DefaultApplVerID(1137) for our Logon.
Implementations§
Trait Implementations§
Source§impl Clone for SessionConfig
impl Clone for SessionConfig
Source§fn clone(&self) -> SessionConfig
fn clone(&self) -> SessionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more