59 return address.empty() || (port == 0);
65 return address == other.
address && port == other.
port;
71 return address != other.
address || port != other.
port;
122 : licenseDirectory(
"")
123 , logDirectory(
"logs")
124 , logFileNamePrefix(
"log")
129 , maxPacketSize(1450)
130 , heartbeatInterval(20)
131 , lostPacketWaitTime(500)
132 , outOfOrderPacketMaxInterval(3)
133 , messagePoolSize(512000)
265 struct EobiHandlerSettings;
266 ONIXS_EUREX_EMDI_API std::ostream&
operator << (std::ostream& stream,
const EobiHandlerSettings& settings);
274 : fastTemplatesFile(
"RDIFastTemplates-1.1.xml")
275 , startRecoveryOnPacketGap(false)
276 , useFullSnapshotCycle(true)
278 logFileNamePrefix =
"OnixS.EurexRdiHandlerCpp";
304 std::ostringstream out;
315 : fastTemplatesFile(
"EMDIFastTemplates-1.1.xml")
316 , buildInternalOrderBooks(true)
317 , startRecoveryOnPacketGap(false)
319 logFileNamePrefix =
"OnixS.EurexEmdiHandlerCpp";
343 std::ostringstream out;
354 : fastTemplatesFile(
"MDIFastTemplates-1.1.xml")
355 , buildInternalOrderBooks(true)
356 , startRecoveryOnPacketGap(false)
358 logFileNamePrefix =
"OnixS.EurexMdiHandlerCpp";
384 std::ostringstream out;
395 : fastTemplatesFile(
"emds101-1.1.xml")
397 logFileNamePrefix =
"OnixS.EurexEmdsHandlerCpp";
417 std::ostringstream out;
431 , buildInternalOrderBooks(true)
432 , startRecoveryOnPacketGap(false)
433 , maxBooksObjectAmount(100)
436 logFileNamePrefix =
"OnixS.EurexEobiHandlerCpp";
461 std::ostringstream out;
FeedDescriptor settlementFeedDescriptor
Sets Settlement prices feed technical configuration.
ONIXS_EUREX_EMDI_API std::ostream & operator<<(std::ostream &stream, const FeedEngineSettings &settings)
std::string fastTemplatesFile
InterfaceDescriptor interfaceDescriptor
Sets data interface technical configuration.
bool startRecoveryOnPacketGap
FeedDescriptor openInterestFeedDescriptor
Sets Open Interest prices feed technical configuration.
std::string fastTemplatesFile
MDI handler configuration settings.
InterfaceDescriptor interfaceDescriptor
Sets data interface technical configuration.
EmdsHandlerSettings()
Constructor.
bool empty() const
checks whether descriptor is empty
ServiceDescriptor serviceA
Service A.
std::string networkInterfaceA
EMDI handler configuration settings.
ServiceDescriptor serviceB
Service B.
Handler base configuration settings.
HandlerSettings()
Constructor.
unsigned bookDepth
Sets max book depth for order books. Default value is 10.
unsigned int lostPacketWaitTime
std::string fastTemplatesFile
MdiHandlerSettings()
Constructor.
unsigned port
Port number.
EMDI handler configuration settings.
unsigned int heartbeatInterval
InterfaceDescriptor interfaceDescriptor
FeedDescriptor snapshotFeed
std::string toString() const
Returns the string representation.
std::string logFileNamePrefix
Template of log file name without extension.
bool operator==(const ServiceDescriptor &other) const
Compares with another instance.
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
bool startRecoveryOnPacketGap
bool operator!=(const ServiceDescriptor &other) const
Compares with another instance.
FeedDescriptor exchangeTradeFeedDescriptor
Sets On-exchange trade prices feed technical configuration.
RDI handler configuration settings.
unsigned int messagePoolSize
unsigned short maxPacketSize
EOBI handler configuration settings.
bool buildInternalOrderBooks
Build internal books.
bool startRecoveryOnPacketGap
std::string licenseDirectory
Path to the license directory.
std::string logDirectory
Log files are stored in this directory.
EobiHandlerSettings()
Constructor.
bool buildInternalOrderBooks
Build internal books.
FeedDescriptor incrementalFeed
bool buildInternalOrderBooks
Build internal books.
Service endpoint description.
bool startRecoveryOnPacketGap
std::string fastTemplatesFile
std::string address
Ip address.
unsigned maxBooksObjectAmount
Defines size of preallocated memory for Order Book. Default value is 100.
std::string networkInterfaceB
std::string toString() const
Returns the string representation.
EmdiHandlerSettings()
Constructor.
std::string toString() const
Returns the string representation.
unsigned int outOfOrderPacketMaxInterval
std::string toString() const
Returns the string representation.
std::string networkInterface
std::string toString() const
Returns the string representation.
RdiHandlerSettings()
Constructor.
InterfaceDescriptor interfaceDescriptor
Sets data interface technical configuration.
bool useFullSnapshotCycle