62 return address == other.
address && port == other.
port;
74 return !address.empty() && port > 0;
117 , licenseDirectory(
"")
118 , logDirectory(
"logs")
119 , logFileNamePrefix(
"EuronextOptiqMdg")
123 , heartbeatInterval(3)
124 , outOfOrderPacketMaxInterval(3)
125 , lostPacketWaitTime(100000)
128 , maxPacketSize(1400)
267 std::ostringstream out;
bool useFeedA
Option to use feed A.
ServiceDescriptor serviceB
Service B.
ServiceDescriptor(const std::string &a, unsigned int port)
std::string networkInterfaceB
Specifies one or more network interfaces to use while joining the multicast group B; use semi-colon d...
bool valid() const
Returns true if the descriptor points to valid ip address.
Log file read permissions.
HandlerSettings()
Constructor.
std::string networkInterfaceA
Specifies one or more network interfaces to use while joining the multicast group A; use semi-colon d...
bool operator!=(const ServiceDescriptor &other) const
Compares with another instance.
LogFilePermission::Enum logFilePermissions
Log file permissions.
UInt32 lostPacketWaitTime
Indicates for how long Handler should wait for the packet before it's considered as totally lost...
UInt32 heartbeatInterval
Specifies maximal time interval between two network packets.
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
Service endpoint description.
UInt32 outOfOrderPacketMaxInterval
Defines value of threshold used by Handler to differ out-of-order packets from gaps.
FeedDescriptor realtimeMulticastFeed
Realtime feed.
LogLevel::Enum logLevel
Log verbosity.
unsigned port
Port number.
std::string licenseString
License string.
std::string networkInterface
Specifies one or more network interfaces to use while joining the multicast group; use semi-colon del...
FeedDescriptor snapshotMulticastFeed
Snapshot feed.
std::string logFileNamePrefix
Template of log file name without extension.
std::string toString() const
Returns the string representation.
std::set< std::string > Symbols
Alias for symbol list.
unsigned short maxPacketSize
Max size for network packet transmitted by Euronext Optiq MDG.
std::string licenseDirectory
Path to the license directory.
bool useFeedB
Option to use feed B.
std::string logDirectory
Log files are stored in this directory.
Handler configuration settings.
std::string address
Ip address.
ServiceDescriptor serviceA
Service A.
ONIXS_EURONEXT_OPTIQMDG_API std::ostream & operator<<(std::ostream &stream, const ServiceDescriptor &descriptor)
bool operator==(const ServiceDescriptor &other) const
Compares with another instance.