B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Engine::SessionExtraParametersImpl Class Reference

#include <SessionExtraParametersImpl.h>

+ Collaboration diagram for Engine::SessionExtraParametersImpl:

Public Member Functions

void checkAndfixDeprecatedParameters (const std::string &senderCompID, const std::string &targetCompID)
 
void copy (const Engine::SessionExtraParameters &v)
 
void copy (const Engine::FastSessionExtraParameters &v)
 
int outOfSequenceMessagesQueueSize () const
 
Engine::OutOfSequenceMessagesStrategyEnum outOfSequenceMessagesStrategy () const
 
 SessionExtraParametersImpl ()
 
 SessionExtraParametersImpl (const Engine::SessionExtraParameters &v)
 
 SessionExtraParametersImpl (const Engine::FastSessionExtraParameters &v)
 
 SessionExtraParametersImpl (const Engine::SessionBackupParameters &v)
 

Static Public Member Functions

static void copy (const SessionExtraParametersImpl &lv, SessionExtraParameters *rv)
 

Public Attributes

int aggressiveReceiveDelay_
 
System::u64 aggressiveReceiveWorkerAffinityMask_
 
System::u64 aggressiveReceiveWorkerRealtime_
 
System::u64 aggressiveSendWorkerAffinityMask_
 
bool allowGapFillWithoutPossDupFlag_
 
bool allowMessageWithoutPossDupFlag_
 
System::u32 bytesToSyncOnTimer_
 
std::string connect_address_
 
bool cyclicSwitchBackupConnection_
 When true, connection will be switched from primary to backup and back until connection will be established. More...
 
FixDictionary2::DictionaryT::CPtr dictionary_
 
bool disableTCPBuffer_
 
bool enableAutoSwitchToBackupConnection_
 When true, automatic switch mode is enabled. More...
 
bool enableMessageRejecting_
 
bool enablePacketizingOfOutgoing_
 
bool enableValidation_
 
EncryptMethod encryptMethod_
 The expected value of the encryption method. More...
 
int fastHeartBeatInterval_
 
int fastInSeqNum_
 
int fastOutSeqNum_
 
System::u32 filesCacheSize_
 
bool forcedReconnect_
 Forced Reconnect mode - session will tries to reconnect when: 1) In WaitForConfirmLogon state when session received not a confirming logon 2) In WaitForConfirmLogon state when logon frame expired 3) In Reconnect state when session was closed. More...
 
ForceSeqNumResetMode forceSeqNumReset_
 Force SeqNum reset mode. More...
 
bool generateCheckSum_
 
bool handleSeqNumAtLogon_
 
int hbi_
 
std::string host_
 
bool ignoreSeqNumTooLowAtLogon_
 
std::string iLink3AccessKey_
 
std::string iLink3Firm_
 
SessionExtraParameters::ILink3GetSigKeyCallback iLink3GetSigKeyCallback_
 
bool isIntradayLogoutToleranceModeOn_
 Intraday logout tolerance mode. More...
 
bool isNonAccelSession_
 
bool isTestEnvSession_
 
bool keepConnectionState_
 When true, primary to backup (and back) connection switching continue using the existing message storage. More...
 
bool logIncomingMessages_
 
int logonTimeFrameSec_
 
int logoutTimeFrameSec_
 
std::size_t maxMessagesAmountInBunch_
 
int messagesStorageSize_
 
int outOfSequenceMessagesQueueSize_
 
Engine::OutOfSequenceMessagesStrategyEnum outOfSequenceMessagesStrategy_
 
std::string password_
 The expected value of the Password (Tag 554) field in the incoming Logon message. More...
 
int passwordTag_
 
int passwordTagLength_
 
int port_
 
int reasonableTransmitTimePcent_
 
int reconnectInterval_
 
int reconnectMaxTries_
 
int resendRequestBlockSize_
 
System::u32 reservedForRecovery_
 
std::string senderCompID_
 
std::string senderLocationID_
 SenderLocationID (tag 142) - assigned value used to identify specific message originator's location (i.e. More...
 
std::string senderSubID_
 
bool sendLastMsgSeqNumProcessed_
 
SocketOpPriority socketPriority_
 Priority of the socket SendReceive operations. More...
 
int socketRecvBufSize_
 
int socketSendBufSize_
 
std::vector< std::string > sourceIPaddress_
 The expected value of the source IP address. More...
 
MessageStorageType storageType_
 
bool suppressDoubleResendRequest_
 
bool suppressResendRequest_
 
std::string targetCompID_
 
std::string targetLocationID_
 TargetLocationID_ (tag 143) - assigned value used to identify specific message destination's location (i.e. More...
 
std::string targetSubID_
 TargetSubID (tag 57) - assigned value used to identify specific individual or unit intended to receive message. More...
 
std::string templateFn_
 
std::string tmpFilesDirectory_
 
bool updateLastSentSeqNumValue_
 
bool useAsyncConnect_
 
bool useBlockingSocket_
 
bool useLiteMessage_
 
bool useNewTCPDispatcher_
 
std::shared_ptr
< Parser::BinaryFixMappingI
userMapping_
 
std::string userName_
 The expected value of the Username (Tag 553) field in the incoming Logon message. More...
 
bool validateCheckSum_
 
Parser::Options validationOptions_
 

Constructor & Destructor Documentation

Engine::SessionExtraParametersImpl::SessionExtraParametersImpl ( )
Engine::SessionExtraParametersImpl::SessionExtraParametersImpl ( const Engine::SessionExtraParameters v)
Engine::SessionExtraParametersImpl::SessionExtraParametersImpl ( const Engine::FastSessionExtraParameters v)
Engine::SessionExtraParametersImpl::SessionExtraParametersImpl ( const Engine::SessionBackupParameters v)
explicit

Member Function Documentation

void Engine::SessionExtraParametersImpl::checkAndfixDeprecatedParameters ( const std::string &  senderCompID,
const std::string &  targetCompID 
)
void Engine::SessionExtraParametersImpl::copy ( const Engine::SessionExtraParameters v)
void Engine::SessionExtraParametersImpl::copy ( const Engine::FastSessionExtraParameters v)
static void Engine::SessionExtraParametersImpl::copy ( const SessionExtraParametersImpl lv,
SessionExtraParameters rv 
)
static
int Engine::SessionExtraParametersImpl::outOfSequenceMessagesQueueSize ( ) const
Engine::OutOfSequenceMessagesStrategyEnum Engine::SessionExtraParametersImpl::outOfSequenceMessagesStrategy ( ) const

Member Data Documentation

int Engine::SessionExtraParametersImpl::aggressiveReceiveDelay_
System::u64 Engine::SessionExtraParametersImpl::aggressiveReceiveWorkerAffinityMask_
System::u64 Engine::SessionExtraParametersImpl::aggressiveReceiveWorkerRealtime_
System::u64 Engine::SessionExtraParametersImpl::aggressiveSendWorkerAffinityMask_
bool Engine::SessionExtraParametersImpl::allowGapFillWithoutPossDupFlag_
bool Engine::SessionExtraParametersImpl::allowMessageWithoutPossDupFlag_
System::u32 Engine::SessionExtraParametersImpl::bytesToSyncOnTimer_
std::string Engine::SessionExtraParametersImpl::connect_address_
bool Engine::SessionExtraParametersImpl::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.

FixDictionary2::DictionaryT::CPtr Engine::SessionExtraParametersImpl::dictionary_
bool Engine::SessionExtraParametersImpl::disableTCPBuffer_
bool Engine::SessionExtraParametersImpl::enableAutoSwitchToBackupConnection_

When true, automatic switch mode is enabled.

By default automatic switch mode is disabled.

bool Engine::SessionExtraParametersImpl::enableMessageRejecting_
bool Engine::SessionExtraParametersImpl::enablePacketizingOfOutgoing_
bool Engine::SessionExtraParametersImpl::enableValidation_
EncryptMethod Engine::SessionExtraParametersImpl::encryptMethod_

The expected value of the encryption method.

int Engine::SessionExtraParametersImpl::fastHeartBeatInterval_
int Engine::SessionExtraParametersImpl::fastInSeqNum_
int Engine::SessionExtraParametersImpl::fastOutSeqNum_
System::u32 Engine::SessionExtraParametersImpl::filesCacheSize_
bool Engine::SessionExtraParametersImpl::forcedReconnect_

Forced Reconnect mode - session will tries to reconnect when: 1) In WaitForConfirmLogon state when session received not a confirming logon 2) In WaitForConfirmLogon state when logon frame expired 3) In Reconnect state when session was closed.

ForceSeqNumResetMode Engine::SessionExtraParametersImpl::forceSeqNumReset_

Force SeqNum reset mode.

An option to use 141 tag in Logon message to reset sequence number.

bool Engine::SessionExtraParametersImpl::generateCheckSum_
bool Engine::SessionExtraParametersImpl::handleSeqNumAtLogon_
int Engine::SessionExtraParametersImpl::hbi_
std::string Engine::SessionExtraParametersImpl::host_
bool Engine::SessionExtraParametersImpl::ignoreSeqNumTooLowAtLogon_
std::string Engine::SessionExtraParametersImpl::iLink3AccessKey_
std::string Engine::SessionExtraParametersImpl::iLink3Firm_
SessionExtraParameters::ILink3GetSigKeyCallback Engine::SessionExtraParametersImpl::iLink3GetSigKeyCallback_
bool Engine::SessionExtraParametersImpl::isIntradayLogoutToleranceModeOn_

Intraday logout tolerance mode.

An option to reset or not to reset sequence numbers after Logout.

bool Engine::SessionExtraParametersImpl::isNonAccelSession_
bool Engine::SessionExtraParametersImpl::isTestEnvSession_
bool Engine::SessionExtraParametersImpl::keepConnectionState_

When true, primary to backup (and back) connection switching continue using the existing message storage.

bool Engine::SessionExtraParametersImpl::logIncomingMessages_
int Engine::SessionExtraParametersImpl::logonTimeFrameSec_
int Engine::SessionExtraParametersImpl::logoutTimeFrameSec_
std::size_t Engine::SessionExtraParametersImpl::maxMessagesAmountInBunch_
int Engine::SessionExtraParametersImpl::messagesStorageSize_
int Engine::SessionExtraParametersImpl::outOfSequenceMessagesQueueSize_
Engine::OutOfSequenceMessagesStrategyEnum Engine::SessionExtraParametersImpl::outOfSequenceMessagesStrategy_
std::string Engine::SessionExtraParametersImpl::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.

Note
: Can be used only with FIX 4.3 and FIX 4.4.
int Engine::SessionExtraParametersImpl::passwordTag_
int Engine::SessionExtraParametersImpl::passwordTagLength_
int Engine::SessionExtraParametersImpl::port_
int Engine::SessionExtraParametersImpl::reasonableTransmitTimePcent_
int Engine::SessionExtraParametersImpl::reconnectInterval_
int Engine::SessionExtraParametersImpl::reconnectMaxTries_
int Engine::SessionExtraParametersImpl::resendRequestBlockSize_
System::u32 Engine::SessionExtraParametersImpl::reservedForRecovery_
std::string Engine::SessionExtraParametersImpl::senderCompID_
std::string Engine::SessionExtraParametersImpl::senderLocationID_

SenderLocationID (tag 142) - assigned value used to identify specific message originator's location (i.e.

geographic location and/or desk, trader).

std::string Engine::SessionExtraParametersImpl::senderSubID_
bool Engine::SessionExtraParametersImpl::sendLastMsgSeqNumProcessed_
SocketOpPriority Engine::SessionExtraParametersImpl::socketPriority_

Priority of the socket SendReceive operations.

By default even_socketOpPriority used

int Engine::SessionExtraParametersImpl::socketRecvBufSize_
int Engine::SessionExtraParametersImpl::socketSendBufSize_
std::vector<std::string> Engine::SessionExtraParametersImpl::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.

MessageStorageType Engine::SessionExtraParametersImpl::storageType_
bool Engine::SessionExtraParametersImpl::suppressDoubleResendRequest_
bool Engine::SessionExtraParametersImpl::suppressResendRequest_
std::string Engine::SessionExtraParametersImpl::targetCompID_
std::string Engine::SessionExtraParametersImpl::targetLocationID_

TargetLocationID_ (tag 143) - assigned value used to identify specific message destination's location (i.e.

geographic location and/or desk, trader).

std::string Engine::SessionExtraParametersImpl::targetSubID_

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.

std::string Engine::SessionExtraParametersImpl::templateFn_
std::string Engine::SessionExtraParametersImpl::tmpFilesDirectory_
bool Engine::SessionExtraParametersImpl::updateLastSentSeqNumValue_
bool Engine::SessionExtraParametersImpl::useAsyncConnect_
bool Engine::SessionExtraParametersImpl::useBlockingSocket_
bool Engine::SessionExtraParametersImpl::useLiteMessage_
bool Engine::SessionExtraParametersImpl::useNewTCPDispatcher_
std::shared_ptr<Parser::BinaryFixMappingI> Engine::SessionExtraParametersImpl::userMapping_
std::string Engine::SessionExtraParametersImpl::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 specified.

Note
Can be used only with FIX 4.3 and FIX 4.4.
bool Engine::SessionExtraParametersImpl::validateCheckSum_
Parser::Options Engine::SessionExtraParametersImpl::validationOptions_