63 return address == other.
address && port == other.
port;
69 return address != other.
address || port != other.
port;
75 return !address.empty() && port > 0;
117 : licenseDirectory(
"")
118 , logDirectory(
"logs")
119 , logFileNamePrefix(
"TradewebApa")
123 , heartbeatInterval(1)
124 , outOfOrderPacketMaxInterval(3)
125 , lostPacketWaitTime(100000)
128 , maxPacketSize(1500)
129 , maxConnectingAttempts(3)
130 , minReconnectingTimeout(3)
288 std::ostringstream out;
HandlerSettings()
Constructor.
UInt32 outOfOrderPacketMaxInterval
UInt32 lostPacketWaitTime
std::set< std::string > Symbols
Alias for symbol list.
std::string recoveryUsername
Username assigned for Recovery Service.
ServiceDescriptor(const std::string &a, unsigned p)
unsigned port
Port number.
LogFilePermission::Enum logFilePermissions
std::string networkInterfaceB
Service endpoint description.
bool operator==(const ServiceDescriptor &other) const
Compares with another instance.
unsigned short maxPacketSize
Max size for network packet transmitted by Eurex.
std::string networkInterface
unsigned int maxConnectingAttempts
Max number of attempts to connect replay and recovery services, default value is 3.
ServiceDescriptor recoveryTcpServiceA
Recovery TCP service A.
std::string licenseDirectory
Path to the license directory.
bool valid() const
Returns true if the descriptor points to valid ip address.
FeedDescriptor realtimeMulticastFeed
Realtime feed.
std::string networkInterfaceForTcpServices
std::string address
Ip address.
std::string logDirectory
Log files are stored in this directory.
std::string networkInterfaceA
ServiceDescriptor(const ServiceDescriptor &descriptor)
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
ONIXS_TRADEWEB_APA_API std::ostream & operator<<(std::ostream &stream, const DataSource &ds)
bool operator!=(const ServiceDescriptor &other) const
Compares with another instance.
std::string logFileNamePrefix
Template of log file name without extension.
ServiceDescriptor serviceA
Service A.
std::string toString() const
Returns the string representation.
Log file read permissions.
ServiceDescriptor recoveryTcpServiceB
Recovery TCP service B.
ServiceDescriptor serviceB
Service B.
std::string recoveryPassword
Password assigned for Recovery Service.
Handler configuration settings.
size_t minReconnectingTimeout
Minimum timeout value between attempts to connect replay and recovery services (sec), default value is 3 sec.