B2BITS FIX Antenna C++  2.31.0
Public Member Functions | Public Attributes | List of all members
Engine::FastSessionExtraParameters Struct Reference

Parameters of the FIX-over-FAST session. More...

#include <B2BITS_SessionParameters.h>

+ Inheritance diagram for Engine::FastSessionExtraParameters:
+ Collaboration diagram for Engine::FastSessionExtraParameters:

Public Member Functions

 FastSessionExtraParameters ()
 Default constructor. More...
 
 FastSessionExtraParameters (const std::map< std::string, std::string > &properties, const std::string &prefix=std::string())
 Initializes all parameters to values fom properties or to default (NULL) values if property not found. More...
 
 FastSessionExtraParameters (SessionExtraParameters const &src)
 Conversion constructor. More...
 
void merge (const FastSessionExtraParameters &fastSessionExtraParameters)
 Merges parameters with another parameters. More...
 
- Public Member Functions inherited from Engine::SessionExtraParameters
void merge (const SessionExtraParameters &sessionExtraParameters)
 Merges parameters with another parameters. More...
 
void modifyOptional (const OptionalProperties &properties, const std::string &prefix=std::string(), bool fullLoad=false)
 modifyOptional modify parameters from optional values More...
 
 SessionExtraParameters ()
 Initializes all parameters to default (NULL) values. More...
 
 SessionExtraParameters (const std::map< std::string, std::string > &properties, const std::string &prefix=std::string())
 Initializes all parameters to values from properties or to default (NULL) values if property not found. More...
 
void update (const Properties &properties, const std::string &prefix=std::string(), bool fullLoad=true)
 Updates the parameters to values from properties. More...
 
virtual ~SessionExtraParameters ()=default
 

Public Attributes

TriBool enableFastScp_
 
FastMappingOptions fastMappingOptions_
 
- Public Attributes inherited from Engine::SessionExtraParameters
TriUInt64 aggressiveAsyncSpinWaitTimeUs_
 Defines a spin wait time in microseconds for waiting between spin iterations in a dedicated sending thread in the Engine::AGGRESSIVE_SEND_SOCKET_OP_PRIORITY mode. More...
 
TriInt aggressiveReceiveDelay_
 Defines a polling interval in microseconds for reading data from the socket. More...
 
TriBool allowMessageWithoutPossDupFlag_
 This parameter is an option whereby the repeated messages are received without PossDupFlag (43) field. More...
 
std::string cmeSecureKeysFile_
 Defined path to the secure keys. More...
 
ConfirmingLogonStrategy confirmingLogonStrategy_
 Defines application behavior in case of the Logout message being received instead of the confirming Logon message as an Initiator. More...
 
std::string connectAddress_
 Specifies IP of the NIC interface used to connect to the remote site. More...
 
TriInt connectPort_
 Specifies TCP port used to connect to the remote site. More...
 
TriAffinity64 cpuAffinity_
 Specifies affinity mask for dedicated threads of session. More...
 
std::string customLogonMessage_
 Custom logon message for initiator. More...
 
std::string customLogonMessageFileName_
 Custom logon message file name for initiator. More...
 
Utils::Emptily< CustomSessionTypecustomSessionType_
 Specifies whether a session should encrypt password each time. More...
 
TriBool cyclicSwitchBackupConnection_
 When true, connection will be switched from primary to backup and back until connection will be established. More...
 
TriBool deliverAppMessagesOutOfOrder_
 Forces Session to deliver Application Level messages if sequence number is too high. More...
 
TriBool disableTCPBuffer_
 When true TCP buffer (Nagle algorithm) will be disabled for session. More...
 
TriBool enableAutoSwitchToBackupConnection_
 When true, automatic switch mode is enabled. More...
 
TriBool enableMessageRejecting_
 When true, session reject application messages, when session unable to sent them during specified period or was disconnected. More...
 
EncryptMethod encryptMethod_
 Encryption method. More...
 
std::string fixKey_
 Specifies a FIX key for LME sessions. More...
 
TriBool forcedReconnect_
 Optional. More...
 
ForceSeqNumResetMode forceSeqNumReset_
 Force SeqNum reset mode. More...
 
TriBool generateCheckSum_
 If false, session will not calculate CRC for outgoing messages Default is true. More...
 
TriBool handleSeqNumAtLogon_
 Handle sequence gaps using NextExpectedMsgSeqNum field in the Logon. More...
 
TriInt hbi_
 HBI for initiator session. More...
 
TriBool hiddenLogonCredentials_
 Masks password in in/out logs. More...
 
std::string host_
 
Host for initiator session More...
 
TriBool ignoreSeqNumTooLowAtLogon_
 When true, session ignore 'SeqNum too low' at incoming Logon message and continue with received SeqNum. More...
 
TriBool intradayLogoutToleranceMode_
 Intraday logout tolerance mode. More...
 
TriBool isForwardingFixMessagesToLog_
 isForwardingFixMessagesToLog_ if true then all fix messages forwaring to the log system default value is engine parameter IsForwardingFixMessagesToLog More...
 
TriBool keepConnectionState_
 When true, primary to backup (and back) connection switching continue using existing message storage. More...
 
std::string listenAddress_
 Listen address for acceptor session. More...
 
Utils::Emptily< System::ListenEndpointslistenEndpoints_
 Acceptor session listen endpoints. More...
 
TriInt listenPort_
 Listen port for acceptor session. More...
 
std::string logDir_
 Defines path of the directory in which the logs for all incoming and outgoing FIX messages are stored. More...
 
TriBool logIncomingMessages_
 If true, session will store incoming FIX messages. More...
 
TriInt logonMessageSessionQualifierTag_
 Defines tag of the field to be used by FIX Engine when dispatching incoming connection. More...
 
std::vector< std::string > maskedTags_
 
Specifies a tags which will be masked in log files More...
 
TriInt maxMessagesAmountInBunch_
 Enqueued outgoing messages could merged and sent as a single buffer. More...
 
TriInt messagesStorageSize_
 This parameter specifies in-memory messages storage size. More...
 
TriUInt64 outgoingQueueBlockSize_
 Defines a block size in bytes for the preallocated outgoing queue block pool. More...
 
TriUInt64 outgoingQueueSize_
 Defines the amount of blocks for the preallocated outgoing queue block pool. More...
 
TriInt outOfSequenceMessagesQueueSize_
 This parameter sets size temporary queue for processing out of sequence messages default value is engine parameter OutOfSequenceMessagesStrategy.QueueSize. More...
 
Utils::Emptily< Engine::OutOfSequenceMessagesStrategyEnumoutOfSequenceMessagesStrategy_
 This parameter sets strategy for out of sequence messages default value is engine parameter OutOfSequenceMessagesStrategy. More...
 
std::string parserVersion_
 Protocol/parser identification. More...
 
std::string password_
 User's password. More...
 
TriInt passwordTag_
 Specifies a tag used to store a password. More...
 
TriInt port_
 Port for initiator session. More...
 
std::string pSenderLocationID_
 SenderLocationID (tag 142) - assigned value used to identify specific message originator's location (i.e. More...
 
std::string pSenderSubID_
 SenderSubID (tag 50) - assigned value used to identify specific message originator (desk, trader, etc.). More...
 
std::string pTargetLocationID_
 TargetLocationID_ (tag 143) - assigned value used to identify specific message destination's location (i.e. More...
 
std::string pTargetSubID_
 TargetSubID (tag 57) - assigned value used to identify specific individual or unit intended to receive message. More...
 
std::vector< RawDataTypeProcessingStrategies::CustomRawDataTagProcessingStrategyrawDataTagProcessingStrategies_
 rawDataTagProcessingStrategies_ processing *Len tags customization rules More...
 
TriInt reconnectInterval_
 This parameter specifies the time interval between reconnection attempts in order to restore a communications link. More...
 
TriInt reconnectMaxTries_
 This parameter specifies the number of attempts to restore the session. More...
 
TriAffinity64 recvCpuAffinity_
 Specifies affinity mask for dedicated receiving thread of session. More...
 
TriInt resendRequestBlockSize_
 Defines number of messages requested using Resend Request messages. More...
 
std::string resetSeqNumFromFirstLogon_
 Defines if sequence numbers should be reset when receiving a logon request first time. More...
 
TriBool resetSeqNumOnNonGracefulTermination_
 Defines if the session's sequence numbers should be set to 1 after non-graceful termination. More...
 
std::string schedule_
 Specifies schedule defined for the session. More...
 
TriAffinity64 sendCpuAffinity_
 Specifies affinity mask for dedicated sending thread of session. More...
 
Utils::Emptily< Engine::TZTimeHelper::TimeFlagssendingTimestampUnit_
 The expected value of the timestamp unit for 52 and 112 tags. More...
 
TriBool sendLastMsgSeqNumProcessed_
 Allows automatic adding the LastMsgSeqNumProcessed(369) tag to outgoing messages. More...
 
SessionRole sessionRole_
 Role of the session Initiator/Acceptor. More...
 
TriInt socketBusyPollTime_
 Sets the approximate time in microseconds to busy poll on a blocking receive when there is no data. More...
 
SocketOpPriority socketPriority_
 Priority of the socket send/receive operations. More...
 
TriInt socketRecvBufSize_
 Socket incoming buffer size. More...
 
TriInt socketSendBufSize_
 Socket outgoing buffer size. More...
 
TriInt socketTcpMaxSeg_
 Sets TCP maximum-segment size. More...
 
Addresses sourceIPaddress_
 The expected value of the source IP address. More...
 
TriBool ssl_
 Whatever to use SSL for the session. More...
 
std::string sslCACertificate_
 
std::string sslCertificate_
 
std::string sslCertificatePassword_
 
std::string sslCiphersList_
 Ciphers list configuration string. More...
 
Utils::Emptily< System::SSLContextsslContext_
 SSL context. More...
 
std::string sslPrivateKey_
 
std::string sslPrivateKeyPassword_
 
TriInt sslProtocols_
 SSL protocols to use. More...
 
TriBool sslValidatePeerCertificate_
 
TriStorageRecoveryStrategy storageRecoveryStrategy_
 Recovery storage parameters. More...
 
TriMessageStorageType storageType_
 Message storage type. More...
 
TriBool suppressDoubleResendRequest_
 Suppresses session to send Resend request message on every incoming message with sequence greater than expected. More...
 
TriTagsDelimiter tagsDelimiter_
 Specifies the tag delimiter in FIX Messages Default is SOH (0x01) More...
 
Utils::Emptily< std::vector< ThrottlerParameters > > throttlers_
 Defines throttlers to limit throughput. More...
 
Utils::Emptily< Transporttransport_
 Low level transport of the session. More...
 
TriBool useAsyncConnect_
 When true, session initiator will use async TCP connect. More...
 
TriBool useBlockingSockets_
 If true, session will use blocking I/O. More...
 
std::string userName_
 User name. More...
 
TriInt userNameTag_
 Specifies a tag used to store an username. More...
 
TriBool validateCheckSum_
 If true, session skip CRC validation for incoming messages Default is true. More...
 
ValidationParameters validation_
 Validation parameters. More...
 

Additional Inherited Members

- Public Types inherited from Engine::SessionExtraParameters
typedef std::map< std::string, OptionalPropertyOptionalProperties
 
typedef Utils::Emptily< std::string > OptionalProperty
 
typedef std::map< std::string, std::string > Properties
 

Detailed Description

Parameters of the FIX-over-FAST session.

Constructor & Destructor Documentation

◆ FastSessionExtraParameters() [1/3]

Engine::FastSessionExtraParameters::FastSessionExtraParameters ( )

Default constructor.

◆ FastSessionExtraParameters() [2/3]

Engine::FastSessionExtraParameters::FastSessionExtraParameters ( const std::map< std::string, std::string > &  properties,
const std::string &  prefix = std::string() 
)

Initializes all parameters to values fom properties or to default (NULL) values if property not found.

◆ FastSessionExtraParameters() [3/3]

Engine::FastSessionExtraParameters::FastSessionExtraParameters ( SessionExtraParameters const &  src)

Conversion constructor.

Converts SessionExtraParameters to FastSessionExtraParameters

Member Function Documentation

◆ merge()

void Engine::FastSessionExtraParameters::merge ( const FastSessionExtraParameters fastSessionExtraParameters)

Merges parameters with another parameters.

Member Data Documentation

◆ enableFastScp_

TriBool Engine::FastSessionExtraParameters::enableFastScp_

◆ fastMappingOptions_

FastMappingOptions Engine::FastSessionExtraParameters::fastMappingOptions_