59 return address.empty() || (port == 0);
65 return address == other.
address && port == other.
port;
71 return address != other.
address || port != other.
port;
123 , licenseDirectory(
"")
124 , logDirectory(
"logs")
125 , logFileNamePrefix(
"log")
130 , maxPacketSize(1450)
131 , heartbeatInterval(20)
132 , lostPacketWaitTime(500)
133 , outOfOrderPacketMaxInterval(3)
134 , messagePoolSize(512000)
269 struct EobiHandlerSettings;
270 ONIXS_EUREX_EMDI_API std::ostream&
operator << (std::ostream& stream,
const EobiHandlerSettings& settings);
278 : startRecoveryOnPacketGap(false)
279 , useFullSnapshotCycle(true)
281 logFileNamePrefix =
"OnixS.EurexRdiHandlerCpp";
302 std::ostringstream out;
313 : buildInternalOrderBooks(true)
314 , startRecoveryOnPacketGap(false)
316 logFileNamePrefix =
"OnixS.EurexEmdiHandlerCpp";
335 std::ostringstream out;
346 : buildInternalOrderBooks(true)
347 , startRecoveryOnPacketGap(false)
349 logFileNamePrefix =
"OnixS.EurexMdiHandlerCpp";
370 std::ostringstream out;
382 logFileNamePrefix =
"OnixS.EurexEmdsHandlerCpp";
397 std::ostringstream out;
411 , buildInternalOrderBooks(true)
412 , startRecoveryOnPacketGap(false)
413 , maxBooksObjectAmount(100)
416 logFileNamePrefix =
"OnixS.EurexEobiHandlerCpp";
441 std::ostringstream out;
FeedDescriptor settlementFeedDescriptor
Sets Settlement prices feed technical configuration.
InterfaceDescriptor interfaceDescriptor
Sets data interface technical configuration.
bool startRecoveryOnPacketGap
FeedDescriptor openInterestFeedDescriptor
Sets Open Interest prices feed technical configuration.
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.
std::ostream & operator<<(std::ostream &os, const Message &message)
Handler base configuration settings.
HandlerSettings()
Constructor.
unsigned bookDepth
Sets max book depth for order books. Default value is 10.
unsigned int lostPacketWaitTime
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.
std::string licenseString
License string.
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 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