B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Friends | List of all members
Engine::FAProperties Class Reference

FixEngine's configuration parameters. More...

#include <B2BITS_FAProperties.h>

Public Types

enum  FAIL_OVER_ROLE { NA, PRIMARY, STAND_BY }
 

Public Member Functions

bool existsProperty (const std::string &propertyName) const
 Returns true if property is exists. More...
 
ForceSeqNumResetMode forceSeqNumResetMode () const
 An option to automatically reset sequence number of the unregistered acceptors. More...
 
std::string getAdditionalFieldsFileName () const
 FIX tags that do not belong to the message in compliance with the version specified for a FIX session, but that should still be allowed (or required) instead of causing a rejection of the FIX message. More...
 
bool getBinaryProperty (const std::string &propertyName) const
 Returns bool value of given property. More...
 
bool getCheckOutgoingMsgsVer () const
 Returns true if it is necessary to check that the version of outgoing messages is equal to the version of the session otherwise false. More...
 
bool getCheckRequiredGroupFields () const
 Returns true if it is necessary to check that the version of outgoing messages is equal to the version of the session otherwise false. More...
 
std::string getConnectAddress () const
 Returns engine's local IP address to send from. More...
 
int getDeliveryTriesInterval () const
 Returns the time interval between tries to deliver application message (in milliseconds). More...
 
std::string getDictionariesFilesList () const
 Returns value of "DictionariesFilesList" property. More...
 
int getFailOverCommandPort () const
 Returns Failover Command Port. More...
 
int getFailOverDataPort () const
 Returns Failover Data Port. More...
 
std::string getFailOverHost () const
 Returns the stand-by node address. More...
 
FAIL_OVER_ROLE getFailOverRole () const
 Returns the current failover role. More...
 
bool getGatherSessionStatistic () const
 Returns true if the session statistics is available. More...
 
int getIntegerProperty (const std::string &propertyName) const
 Returns int value of given property. More...
 
std::string getLicenseFileName () const
 Returns the license file name. More...
 
std::string getListenAddress () const
 Returns engine's local IP address to bind to. More...
 
int getListenPort () const
 Return listeners port number. More...
 
ListenPorts getListenPorts () const
 Return listeners ports. More...
 
std::string getLogDir () const
 Returns log directory's name. More...
 
std::string getLogFileName () const
 Returns engine's log file name. More...
 
bool getLogIncomingMessages () const
 Returns true if the incoming messages from a remote FIX Engine must be logged, otherwise false. More...
 
int getLogonTimeFrame () const
 Returns the logon time frame. More...
 
int getLogoutTimeFrame () const
 Returns the logout time frame. More...
 
int getMaxDeliveryTries () const
 Returns the maximum number of tryes to deliver application message. More...
 
int getMaxReconnectTries () const
 Returns the maximum number of tries to to restore the telecommunications link. More...
 
bool getMessageMustBeValidated () const
 Returns true if the validity of the input message must be checked, false otherwise. More...
 
ListenPorts getNonAccelListenPorts () const
 Return non accelerated listeners ports. More...
 
int getNumberOfWorkers () const
 Returns the number of workers. More...
 
int getOutgoingMessagesStorageSize () const
 Returns the maximum number of outgoing messages that can be retransmitted in case of Resend Requests. More...
 
int getReasonableTransmissionTime () const
 Returns reasonable transmission time - in % from HeartBeat value. More...
 
int getReconnectInterval () const
 Returns the time interval between tries to restore the telecommunications link (in milliseconds) More...
 
unsigned int getResendMessagesBlockSize () const
 Returns the value of the "ResendMessagesBlockSize". More...
 
std::string getRoot () const
 Returns the top of the directory tree under which the engine's configuration, and log files are kept. More...
 
std::string getSlicedStorageBackupDir () const
 Returns path to SlicedPersistentMsgStorage backup directory. More...
 
std::size_t getSlicedStorageSliceSize () const
 Returns max slice size for SlicedPersistentMsgStorage. More...
 
std::string getStringProperty (const std::string &propertyName) const
 Returns std::string value of given property. More...
 
MessageStorageType getUnregisteredAcceptorSessionStorageType () const
 Returns storage type of the unregistered sessions. More...
 
bool isAllowEmptyFieldValue () const
 Returns true when "AllowEmptyFieldValue" defined and true, false otherwise. More...
 
bool isAllowZeroNumInGroup () const
 Returns true when "AllowZeroNumInGroup" defined and true, false otherwise. More...
 
bool isCreateUnregisteredAcceptorSessionMode () const
 Returns true if "CreateUnregisteredAcceptorSession" mode must be used, false otherwise. More...
 
bool isExtraSafeMode () const
 Returns the value of the "ExtraSafeMode". More...
 
bool isFailOverMode () const
 Returns true if the automatic failover mechanism is on. More...
 
bool isIgnoreseqNumTooLowAtLogon () const
 Returns true if "UnregisteredAcceptor.IgnoreSeqNumTooLowAtLogon" mode must be used, false otherwise. More...
 
bool isIntradayLogoutToleranceMode () const
 Returns true if the Intraday Logout Tolerance mode is active, otherwise - false. More...
 
bool isRebuildIndexEnabled () const
 Returns the value of the "MessageStorage.IndexRebuildEnabled". More...
 
bool isRejectFlagSupportRequired () const
 Returns the value of the "MessageStorage.RequireRejectFlagSupport". More...
 
bool isResetSeqNumAfter24hoursMode () const
 An option to send a Logon message with the ResetSeqNumFlag set after each 24 hour period of session's activity to establish a new set of sequence numbers (starting with 1). More...
 
bool isThirdPartyRoutingEnabled () const
 Returns true if the third-party routing is enabled, false otherwise. More...
 
bool isTimestampsInLogsMode () const
 An option to write timestamps in the log files. More...
 
int messageTimeToLive () const
 Returns value of the "MessageTimeToLive". More...
 
bool unregisteredAcceptorMessageRejectingEnabled () const
 Returns true if "UnregAcceptorsRejectMessageWhileNoConnection" contains true. More...
 

Friends

class FixEngine
 
class FixEngineImpl
 

Detailed Description

FixEngine's configuration parameters.

Member Enumeration Documentation

Enumerator
NA 
PRIMARY 
STAND_BY 

Member Function Documentation

bool Engine::FAProperties::existsProperty ( const std::string &  propertyName) const

Returns true if property is exists.

ForceSeqNumResetMode Engine::FAProperties::forceSeqNumResetMode ( ) const

An option to automatically reset sequence number of the unregistered acceptors.

std::string Engine::FAProperties::getAdditionalFieldsFileName ( ) const

FIX tags that do not belong to the message in compliance with the version specified for a FIX session, but that should still be allowed (or required) instead of causing a rejection of the FIX message.

The example below means: for FIX 4.2, MsgType 8 (Execution Report): allow fields 639 and 204 for FIX 4.1, MsgType 9 (Order Cancel Reject): require field 41 (because the '?' symbol is absent).

FIX42:8:639?,204?;FIX41:9:41

bool Engine::FAProperties::getBinaryProperty ( const std::string &  propertyName) const

Returns bool value of given property.

bool Engine::FAProperties::getCheckOutgoingMsgsVer ( ) const

Returns true if it is necessary to check that the version of outgoing messages is equal to the version of the session otherwise false.

bool Engine::FAProperties::getCheckRequiredGroupFields ( ) const

Returns true if it is necessary to check that the version of outgoing messages is equal to the version of the session otherwise false.

std::string Engine::FAProperties::getConnectAddress ( ) const

Returns engine's local IP address to send from.

int Engine::FAProperties::getDeliveryTriesInterval ( ) const

Returns the time interval between tries to deliver application message (in milliseconds).

std::string Engine::FAProperties::getDictionariesFilesList ( ) const

Returns value of "DictionariesFilesList" property.

int Engine::FAProperties::getFailOverCommandPort ( ) const

Returns Failover Command Port.

int Engine::FAProperties::getFailOverDataPort ( ) const

Returns Failover Data Port.

std::string Engine::FAProperties::getFailOverHost ( ) const

Returns the stand-by node address.

FAIL_OVER_ROLE Engine::FAProperties::getFailOverRole ( ) const

Returns the current failover role.

bool Engine::FAProperties::getGatherSessionStatistic ( ) const

Returns true if the session statistics is available.

int Engine::FAProperties::getIntegerProperty ( const std::string &  propertyName) const

Returns int value of given property.

std::string Engine::FAProperties::getLicenseFileName ( ) const

Returns the license file name.

std::string Engine::FAProperties::getListenAddress ( ) const

Returns engine's local IP address to bind to.

int Engine::FAProperties::getListenPort ( ) const

Return listeners port number.

Returns
listeners port number.
Note
if the value is 0 then the communication level must be disabled.
ListenPorts Engine::FAProperties::getListenPorts ( ) const

Return listeners ports.

Returns
listeners ports.
Note
if the value is empty then the communication level must be disabled.
std::string Engine::FAProperties::getLogDir ( ) const

Returns log directory's name.

std::string Engine::FAProperties::getLogFileName ( ) const

Returns engine's log file name.

bool Engine::FAProperties::getLogIncomingMessages ( ) const

Returns true if the incoming messages from a remote FIX Engine must be logged, otherwise false.

int Engine::FAProperties::getLogonTimeFrame ( ) const

Returns the logon time frame.

int Engine::FAProperties::getLogoutTimeFrame ( ) const

Returns the logout time frame.

int Engine::FAProperties::getMaxDeliveryTries ( ) const

Returns the maximum number of tryes to deliver application message.

int Engine::FAProperties::getMaxReconnectTries ( ) const

Returns the maximum number of tries to to restore the telecommunications link.

If -1 then the number of tries is unlimited.

bool Engine::FAProperties::getMessageMustBeValidated ( ) const

Returns true if the validity of the input message must be checked, false otherwise.

ListenPorts Engine::FAProperties::getNonAccelListenPorts ( ) const

Return non accelerated listeners ports.

Returns
non accelerated listeners ports.
int Engine::FAProperties::getNumberOfWorkers ( ) const

Returns the number of workers.

int Engine::FAProperties::getOutgoingMessagesStorageSize ( ) const

Returns the maximum number of outgoing messages that can be retransmitted in case of Resend Requests.

If '-1' then the size is unlimited.

int Engine::FAProperties::getReasonableTransmissionTime ( ) const

Returns reasonable transmission time - in % from HeartBeat value.

int Engine::FAProperties::getReconnectInterval ( ) const

Returns the time interval between tries to restore the telecommunications link (in milliseconds)

unsigned int Engine::FAProperties::getResendMessagesBlockSize ( ) const

Returns the value of the "ResendMessagesBlockSize".

The number of the messages to request in the single reading from the session storage when the resend request is processed.

std::string Engine::FAProperties::getRoot ( ) const

Returns the top of the directory tree under which the engine's configuration, and log files are kept.

std::string Engine::FAProperties::getSlicedStorageBackupDir ( ) const

Returns path to SlicedPersistentMsgStorage backup directory.

std::size_t Engine::FAProperties::getSlicedStorageSliceSize ( ) const

Returns max slice size for SlicedPersistentMsgStorage.

std::string Engine::FAProperties::getStringProperty ( const std::string &  propertyName) const

Returns std::string value of given property.

MessageStorageType Engine::FAProperties::getUnregisteredAcceptorSessionStorageType ( ) const

Returns storage type of the unregistered sessions.

bool Engine::FAProperties::isAllowEmptyFieldValue ( ) const

Returns true when "AllowEmptyFieldValue" defined and true, false otherwise.

bool Engine::FAProperties::isAllowZeroNumInGroup ( ) const

Returns true when "AllowZeroNumInGroup" defined and true, false otherwise.

bool Engine::FAProperties::isCreateUnregisteredAcceptorSessionMode ( ) const

Returns true if "CreateUnregisteredAcceptorSession" mode must be used, false otherwise.

bool Engine::FAProperties::isExtraSafeMode ( ) const

Returns the value of the "ExtraSafeMode".

Defines if fflush should be called after writing to the session storage.

bool Engine::FAProperties::isFailOverMode ( ) const

Returns true if the automatic failover mechanism is on.

If false then it is off.

bool Engine::FAProperties::isIgnoreseqNumTooLowAtLogon ( ) const

Returns true if "UnregisteredAcceptor.IgnoreSeqNumTooLowAtLogon" mode must be used, false otherwise.

bool Engine::FAProperties::isIntradayLogoutToleranceMode ( ) const

Returns true if the Intraday Logout Tolerance mode is active, otherwise - false.

bool Engine::FAProperties::isRebuildIndexEnabled ( ) const

Returns the value of the "MessageStorage.IndexRebuildEnabled".

Defines if the engine should try to restore the storage index files when they are absent.

bool Engine::FAProperties::isRejectFlagSupportRequired ( ) const

Returns the value of the "MessageStorage.RequireRejectFlagSupport".

Defines if the session storage should keep, what outgoing messages were rejected.

bool Engine::FAProperties::isResetSeqNumAfter24hoursMode ( ) const

An option to send a Logon message with the ResetSeqNumFlag set after each 24 hour period of session's activity to establish a new set of sequence numbers (starting with 1).

Note
This option does not affect sessions which use version 4.0 of the FIX protocol.
bool Engine::FAProperties::isThirdPartyRoutingEnabled ( ) const

Returns true if the third-party routing is enabled, false otherwise.

bool Engine::FAProperties::isTimestampsInLogsMode ( ) const

An option to write timestamps in the log files.

int Engine::FAProperties::messageTimeToLive ( ) const

Returns value of the "MessageTimeToLive".

bool Engine::FAProperties::unregisteredAcceptorMessageRejectingEnabled ( ) const

Returns true if "UnregAcceptorsRejectMessageWhileNoConnection" contains true.

Friends And Related Function Documentation

friend class FixEngine
friend
friend class FixEngineImpl
friend