Session's extra parameters. More...
#include <B2BITS_SessionParameters.h>
Inheritance diagram for Engine::SessionExtraParameters:
Collaboration diagram for Engine::SessionExtraParameters:Classes | |
| struct | ValidationParameters |
| Validation parameters. More... | |
Public Member Functions | |
| SessionExtraParameters () | |
| Initializes all parameters to default (NULL) values. | |
Public Attributes | |
| TriBool | allowMessageWithoutPossDupFlag_ |
| Allows messages without PossDupFlag(43) field. | |
| std::string | connectAddress_ |
| Specifies IP of the NIC interface used to connect to the remote site. | |
| TriBool | cyclicSwitchBackupConnection_ |
| When true, connection will be switched from primary to backup and back until connection will be established. | |
| TriBool | disableTCPBuffer_ |
| When true TCP buffer (Nagle algorithm) will be disabled for session. | |
| TriBool | enableAutoSwitchToBackupConnection_ |
| When true, automatic switch mode is enabled. | |
| TriBool | enableMessageRejecting_ |
| When true, session reject application messages, when session unable to sent them during specified period or was disconnected. | |
| EncryptMethod | encryptMethod_ |
| The expected value of the encryption method. | |
| TriBool | forcedReconnect_ |
Forced Reconnect mode - session will tries to reconnect when:
| |
| ForceSeqNumResetMode | forceSeqNumReset_ |
| Force SeqNum reset mode. | |
| TriBool | handleSeqNumAtLogon_ |
| Handle sequence gaps using NextExpectedMsgSeqNum field in the Logon. | |
| TriBool | ignoreSeqNumTooLowAtLogon_ |
| When true, session ignore 'SeqNum too low' at incoming Logon message and continue with received SeqNum. | |
| TriBool | intradayLogoutToleranceMode_ |
| Intraday logout tolerance mode. | |
| TriBool | keepConnectionState_ |
| When true, primary to backup (and back) connection switching continue using existing message storage. | |
| size_t | maxMessagesAmountInBunch_ |
| Enqueued outgoing messages could merged and sent as a single buffer. | |
| TriInt | messagesStorageSize_ |
| This parameter specifies in-memory messages storage size. | |
| std::string | password_ |
| The expected value of the Password (Tag 554) field in the incoming Logon message. | |
| std::string | pSenderLocationID_ |
| SenderLocationID (tag 142) - assigned value used to identify specific message originator's location (i.e. | |
| std::string | pSenderSubID_ |
| SenderSubID (tag 50) - assigned value used to identify specific message originator (desk, trader, etc.). | |
| std::string | pTargetLocationID_ |
| TargetLocationID_ (tag 143) - assigned value used to identify specific message destination's location (i.e. | |
| std::string | pTargetSubID_ |
| TargetSubID (tag 57) - assigned value used to identify specific individual or unit intended to receive message. | |
| TriInt | reconnectMaxTries_ |
| This parameter specifies the number of attempts to restore the session. | |
| TriBool | sendLastMsgSeqNumProcessed_ |
| Allows automatic adding the LastMsgSeqNumProcessed(369) tag to outgoing messages. | |
| SocketOpPriority | socketPriority_ |
| Priority of the socket send/receive operations. | |
| Addresses | sourceIPaddress_ |
| The expected value of the source IP address. | |
| size_t | sourceIPaddressCount_ |
| Amount of the valid source IP addresses. | |
| TriBool | suppressDoubleResendRequest_ |
| Suppresses session to send Resend request message on every incoming message with sequence greater than expected. | |
| std::string | userName_ |
| The expected value of the Username (Tag 553) field in the incoming Logon message. | |
| ValidationParameters | validation_ |
| Validation parameters. | |
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.
Definition at line 75 of file B2BITS_SessionParameters.h.
| Engine::SessionExtraParameters::SessionExtraParameters | ( | ) |
Initializes all parameters to default (NULL) values.
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.
Definition at line 300 of file B2BITS_SessionParameters.h.
| std::string Engine::SessionExtraParameters::connectAddress_ |
Specifies IP of the NIC interface used to connect to the remote site.
Definition at line 288 of file B2BITS_SessionParameters.h.
When true, connection will be switched from primary to backup and back until connection will be established.
By default cycle switch mode is disabled.
Definition at line 272 of file B2BITS_SessionParameters.h.
When true TCP buffer (Nagle algorithm) will be disabled for session.
Definition at line 257 of file B2BITS_SessionParameters.h.
When true, automatic switch mode is enabled.
By default automatic switch mode is disabled.
Definition at line 268 of file B2BITS_SessionParameters.h.
When true, session reject application messages, when session unable to sent them during specified period or was disconnected.
Definition at line 243 of file B2BITS_SessionParameters.h.
The expected value of the encryption method.
Definition at line 229 of file B2BITS_SessionParameters.h.
Forced Reconnect mode - session will tries to reconnect when:
Definition at line 237 of file B2BITS_SessionParameters.h.
Force SeqNum reset mode.
An option to use 141 tag in Logon message to reset sequence number.
Definition at line 224 of file B2BITS_SessionParameters.h.
Handle sequence gaps using NextExpectedMsgSeqNum field in the Logon.
By default it equals to false
Definition at line 275 of file B2BITS_SessionParameters.h.
When true, session ignore 'SeqNum too low' at incoming Logon message and continue with received SeqNum.
Definition at line 249 of file B2BITS_SessionParameters.h.
Intraday logout tolerance mode.
An option to reset or not to reset sequence numbers after Logout.
Definition at line 218 of file B2BITS_SessionParameters.h.
When true, primary to backup (and back) connection switching continue using existing message storage.
Definition at line 253 of file B2BITS_SessionParameters.h.
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.
Definition at line 262 of file B2BITS_SessionParameters.h.
This parameter specifies in-memory messages storage size.
Definition at line 293 of file B2BITS_SessionParameters.h.
| std::string Engine::SessionExtraParameters::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.
Definition at line 200 of file B2BITS_SessionParameters.h.
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.
Definition at line 173 of file B2BITS_SessionParameters.h.
| std::string Engine::SessionExtraParameters::pSenderSubID_ |
SenderSubID (tag 50) - assigned value used to identify specific message originator (desk, trader, etc.).
Ignored if NULL value specified.
Definition at line 156 of file B2BITS_SessionParameters.h.
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.
Definition at line 181 of file B2BITS_SessionParameters.h.
| std::string Engine::SessionExtraParameters::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.
Definition at line 165 of file B2BITS_SessionParameters.h.
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.
Definition at line 283 of file B2BITS_SessionParameters.h.
Allows automatic adding the LastMsgSeqNumProcessed(369) tag to outgoing messages.
Definition at line 311 of file B2BITS_SessionParameters.h.
Priority of the socket send/receive operations.
By default Engine::EVEN_SOCKET_OP_PRIORITY used.
Definition at line 265 of file B2BITS_SessionParameters.h.
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.
Definition at line 212 of file B2BITS_SessionParameters.h.
Amount of the valid source IP addresses.
Definition at line 205 of file B2BITS_SessionParameters.h.
Suppresses session to send Resend request message on every incoming message with sequence greater than expected.
Definition at line 306 of file B2BITS_SessionParameters.h.
| std::string Engine::SessionExtraParameters::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.
Definition at line 191 of file B2BITS_SessionParameters.h.
Validation parameters.
Definition at line 316 of file B2BITS_SessionParameters.h.
1.7.2