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