Session's extra parameters. More...
#include <B2BITS_C_SessionParameters.h>
Data Fields | |
char const * | pSenderSubID_ |
SenderSubID (tag 50) - assigned value used to identify specific message originator (desk, trader, etc.). More... | |
char const * | pTargetSubID_ |
TargetSubID (tag 57) - assigned value used to identify specific individual or unit intended to receive message. More... | |
char const * | pSenderLocationID_ |
SenderLocationID (tag 142) - assigned value used to identify specific message originator's location (i.e. More... | |
char const * | pTargetLocationID_ |
TargetLocationID_ (tag 143) - assigned value used to identify specific message destination's location (i.e. More... | |
char const * | userName_ |
The expected value of the Username (Tag 553) field in the incoming Logon message. More... | |
char const * | password_ |
The expected value of the Password (Tag 554) field in the incoming Logon message. More... | |
int | userNameTag_ |
Specifies a tag used to store an username. | |
int | passwordTag_ |
Specifies a tag used to store a password. | |
size_t | sourceIPaddressCount_ |
Amount of the valid source IP addresses. More... | |
Addresses | sourceIPaddress_ |
The expected value of the source IP address. More... | |
B2BITS_TriBool | intradayLogoutToleranceMode_ |
Intraday logout tolerance mode. More... | |
B2BITS_ForceSeqNumResetMode | forceSeqNumReset_ |
Force SeqNum reset mode. More... | |
B2BITS_EncryptMethod | encryptMethod_ |
The expected value of the encryption method. | |
B2BITS_TriBool | forcedReconnect_ |
Forced Reconnect mode - session will tries to reconnect when:
| |
B2BITS_TriBool | enableMessageRejecting_ |
When true, session reject application messages, when session unable to sent them during specified period or was disconnected. | |
B2BITS_TriBool | ignoreSeqNumTooLowAtLogon_ |
When true, session ignore 'SeqNum too low' at incoming Logon message and continue with received SeqNum. | |
B2BITS_TriBool | keepConnectionState_ |
When true, primary to backup (and back) connection switching continue using existing message strage. More... | |
B2BITS_TriBool | disableTCPBuffer_ |
When true TCP buffer (Nagle algorithm) will be disabled for session. More... | |
size_t | maxMessagesAmountInBunch_ |
Enqueued outgoing messages could merged and sent as a single buffer. More... | |
B2BITS_SocketOpPriority | socketPriority_ |
Priority of the socket SendReceive operations. More... | |
int | aggressiveReceiveDelay_ |
Changes aggressive send behaviour. More... | |
B2BITS_TriBool | enableAutoSwitchToBackupConnection_ |
When true, automatic switch mode is enabled. More... | |
B2BITS_TriBool | cyclicSwitchBackupConnection_ |
When true, connection will be switched from primary to backup and back until connection will be established. More... | |
B2BITS_TriBool | handleSeqNumAtLogon_ |
Handle sequence gaps using NextExpectedMsgSeqNum field in the Logon. More... | |
B2BITS_TriBool | allowMessageWithoutPossDupFlag_ |
Allows messages without PossDupFlag(43) field. More... | |
B2BITS_TriBool | suppressDoubleResendRequest_ |
Suppresses session to send Resend request message on every incoming message with sequence greater than expected. | |
int | reconnectMaxTries_ |
This parameter specifies the number of attempts to restore the session. More... | |
Session's extra parameters.
If these parameters are present FIX Engine adds them to Standard Message Header of all outgoing messages unless another value has been explicitly set in the particular message.
int aggressiveReceiveDelay_ |
Changes aggressive send behaviour.
Defines delay in microseconds between message receive attempts. Less value improves latency but cause high CPU utilization. Default is 500 microseconds.
B2BITS_TriBool allowMessageWithoutPossDupFlag_ |
Allows messages without PossDupFlag(43) field.
If true and message is received with seq num less than expected without PossDupFlag(43), connection will be closed. If false, message will be processed.
B2BITS_TriBool cyclicSwitchBackupConnection_ |
When true, connection will be switched from primary to backup and back until connection will be established.
By default cycle switch mode is disabled.
B2BITS_TriBool disableTCPBuffer_ |
When true TCP buffer (Nagle algorithm) will be disabled for session.
B2BITS_TriBool enableAutoSwitchToBackupConnection_ |
When true, automatic switch mode is enabled.
By default automatic switch mode is disabled.
B2BITS_ForceSeqNumResetMode forceSeqNumReset_ |
Force SeqNum reset mode.
An option to use 141 tag in Logon message to reset sequence number.
B2BITS_TriBool handleSeqNumAtLogon_ |
Handle sequence gaps using NextExpectedMsgSeqNum field in the Logon.
By default it equals to false
B2BITS_TriBool intradayLogoutToleranceMode_ |
Intraday logout tolerance mode.
An option to reset or not to reset sequence numbers after Logout.
B2BITS_TriBool keepConnectionState_ |
When true, primary to backup (and back) connection switching continue using existing message strage.
size_t maxMessagesAmountInBunch_ |
Enqueued outgoing messages could merged and sent as a single buffer.
This parameter controls how many messages could be merged into the bunch. The 0 means infinite amount.
char const* password_ |
The expected value of the Password (Tag 554) field in the incoming Logon message.
If the real value is not equal to the expected one then the session is disconnected without sending a message and the error condition is generated in the log output.
char const* pSenderLocationID_ |
SenderLocationID (tag 142) - assigned value used to identify specific message originator's location (i.e.
geographic location and/or desk, trader). Ignored if NULL value is specified.
char const* pSenderSubID_ |
SenderSubID (tag 50) - assigned value used to identify specific message originator (desk, trader, etc.).
Ignored if NULL value specified.
char const* pTargetLocationID_ |
TargetLocationID_ (tag 143) - assigned value used to identify specific message destination's location (i.e.
geographic location and/or desk, trader). Ignored if NULL value specified.
char const* pTargetSubID_ |
TargetSubID (tag 57) - assigned value used to identify specific individual or unit intended to receive message.
'ADMIN' reserved for administrative messages not intended for a specific user. Ignored if NULL value is specified.
int reconnectMaxTries_ |
This parameter specifies the number of attempts to restore the session.
The session is considered as restored if the telecommunication link was restored and the exchange of Logon messages was successful. If it is set to "-1", then the number of attempts is unlimited.
B2BITS_SocketOpPriority socketPriority_ |
Priority of the socket SendReceive operations.
By default even_socketOpPriority used
Addresses sourceIPaddress_ |
The expected value of the source IP address.
If the real value is not equal to the expected one then the session is disconnected without sending a message and the error condition is generated in the log output.
size_t sourceIPaddressCount_ |
Amount of the valid source IP addresses.
char const* userName_ |
The expected value of the Username (Tag 553) field in the incoming Logon message.
If the real value is not equal to the expected one then the session is disconnected without sending a message and the error condition is generated in the log output. Ignored if NULL value isspecified.