Startup parameters.
More...
#include <B2BITS_SpectraApplication.h>
Type of transport layer.
Enumerator |
---|
Sockets |
standard IP sockets
|
SocketsIGMPv4 |
standard IP sockets with support IGMP v.4
|
MyricomDBL |
Myricom datagram kernel bypass Layer.
|
Spectra::SpectraApplicationParams::SpectraApplicationParams |
( |
| ) |
|
|
inline |
static const char* Spectra::SpectraApplicationParams::transportToString |
( |
Transport |
t | ) |
|
|
inlinestatic |
List of channel connection to use; empty means all connections are allowed. Default value is empty (all connections from configXml are used)
std::string Spectra::SpectraApplicationParams::appProtocolName_ |
Custom dictionary name for FIX application layer.
bool Spectra::SpectraApplicationParams::bindToInterface_ |
bool Spectra::SpectraApplicationParams::checkUDPSender_ |
Pass true to check the UDP packet sender's IP address. Default value is true
std::string Spectra::SpectraApplicationParams::configXml_ |
Path to the configuration file.
Custom extra feeds for SecurityDefinitions getting. They are used for resolving by subscription to instruments. For example, params.customSecDefFeeds_[SpectraDataChannel("D", "ORDERS-LOG")].push_back(SpectraDataChannel("F", "FUT-INFO")) As a result FUT-INFO futures defintion feed will be used as the futures defintion feed for ORDERS-LOG
size_t Spectra::SpectraApplicationParams::incomingUdpBufferSize_ |
UDP incoming buffer size. Should be tuned in case of UDP message miss
std::string Spectra::SpectraApplicationParams::incrementalProcessorInterfaceIP_ |
IP of network interface to listen on for separate "X" processing; nullptr or empty std::string means all interfaces. Default value is null (all interfaces)
Transport Spectra::SpectraApplicationParams::incrementalProcessorTransportType_ |
Transport layer for data reading by separated "X" threads Default value is Transport::SocketsIGMPv4
size_t Spectra::SpectraApplicationParams::incrementalProcessorWorkerCount_ |
Number of separate threads to decode incoming "X" messages. (0 - disable separate processing of "X" Default value is 0
size_t Spectra::SpectraApplicationParams::incrementQueueSize_ |
Maximum number of messages could be stored in recovery mode for the particular instrument. Default value is 50
std::string Spectra::SpectraApplicationParams::listenInterfaceIP_ |
IP of network interface to listen on; nullptr or empty std::string means all interfaces. Default value is null (all interfaces)
bool Spectra::SpectraApplicationParams::logIncomingMessages_ |
Pass true to write out to the log file incoming FIX messages Default value is false
bool Spectra::SpectraApplicationParams::logIncomingUdpMessages_ |
Pass true to write out to the binary log file incoming FAST messages Default value is false
std::string Spectra::SpectraApplicationParams::nicConfig_ |
The name of the xml file with NIC configuration. Default value is nic_config.xml
size_t Spectra::SpectraApplicationParams::numberOfWorkers_ |
Number of threads to decode incoming data Default value is 4
std::string Spectra::SpectraApplicationParams::scpProtocolName_ |
Custom dictionary name for FIXT transport layer.
Params for TCPReplay recovery mode.
std::string Spectra::SpectraApplicationParams::templatesFn_ |
Path to the templates file.
Transport Spectra::SpectraApplicationParams::transportType_ |
Transport layer for data reading Default value is Transport::SocketsIGMPv4