62 return address == other.
address && port == other.
port;
74 return !address.empty() && port > 0;
112 const std::string& addr,
unsigned int port,
113 const std::string& name,
const std::string& pass,
const std::string& ni =
"")
117 , networkInterface(ni)
125 (!username.empty()) &&
191 , logDirectory(
"logs")
192 , logFileNamePrefix(
"FenicsUstBimp")
196 , heartbeatInterval(1)
197 , outOfOrderPacketMaxInterval(3)
198 , lostPacketWaitTime(100000)
201 , maxBooksObjectAmount(1000)
202 , maxPacketSize(1500)
203 , maxConnectingAttempts(3)
204 , minReconnectingTimeout(3)
205 , replayMaxPacketsNumber(10000)
206 , buildInternalOrderBooks(false)
379 std::ostringstream out;
TcpServiceDescriptor(const std::string &addr, unsigned int port, const std::string &name, const std::string &pass, const std::string &ni="")
Service endpoint description.
FeedDescriptor reRequestFeed
Gap response feed.
ThreadAffinity snapshotServiceRecvAffinity
Spin request TCP service receiving affinity.
std::string networkInterfaceB
unsigned int replayMaxPacketsNumber
Lost packets threshold when the Handler prefers replay, should not exceed 10000.
ServiceDescriptor serviceA
Service A.
ONIXS_FMXUST_BIMP_API std::ostream & operator<<(std::ostream &stream, const ServiceDescriptor &descriptor)
ServiceDescriptor(const std::string &a, unsigned int port)
std::string logDirectory
Log files are stored in this directory.
std::string networkInterfaceA
ServiceDescriptor serviceB
Service B.
std::string address
Ip address.
unsigned short maxPacketSize
Max size for network packet transmitted by Eurex.
std::string toString() const
Returns the string representation.
std::set< std::string > Symbols
Alias for symbol list.
HandlerSettings()
Constructor.
UInt32 outOfOrderPacketMaxInterval
TcpFeedDescriptor snapshotService
Spin TCP service credentials.
FeedDescriptor multicastFeed
Realtime feed.
LogFilePermission::Enum logFilePermissions
Symbols symbols
Symbols for filtration.
std::string networkInterfaceForTcpServices
std::string licenseString
License string.
TcpServiceDescriptor serviceA
Service A.
bool valid() const
Returns true if the descriptor points to valid ip address.
unsigned int minReconnectingTimeout
Minimum timeout value between attempts to connect replay and recovery services (sec), default value is 3 sec.
Log file read permissions.
bool buildInternalOrderBooks
Build internal books.
std::string networkInterface
std::string licenseDirectory
Path to the license directory.
bool operator==(const ServiceDescriptor &other) const
Compares with another instance.
std::string username
Username.
ThreadAffinity snapshotServiceSendingAffinity
Spin request TCP service sending affinity.
unsigned int maxBooksObjectAmount
Defines size of pre-allocated memory for Order Book. Default value is 100.
unsigned int maxConnectingAttempts
Max number of attempts to connect replay and recovery services, default value is 3.
unsigned port
Port number.
Describes BIMP tcp service.
std::string networkInterface
bool valid() const
Returns true if the descriptor is valid.
std::string logFileNamePrefix
Template of log file name without extension.
bool operator!=(const ServiceDescriptor &other) const
Compares with another instance.
TcpServiceDescriptor serviceB
Service B.
UInt32 lostPacketWaitTime
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
Represents set of CPU indices.
std::string password
Password.
Handler configuration settings.