62 return address == other.
address && port == other.
port;
74 return !address.empty() && port > 0;
112 const std::string& addr,
unsigned int port,
const std::string& subId,
113 const std::string& name,
const std::string& pass)
115 , sessionSubId(subId)
125 (!sessionSubId.empty()) &&
126 (!username.empty()) &&
186 , licenseDirectory(
"")
187 , logDirectory(
"logs")
188 , logFileNamePrefix(
"CboeCfePitch")
192 , heartbeatInterval(1)
193 , outOfOrderPacketMaxInterval(3)
194 , lostPacketWaitTime(100000)
197 , maxBooksObjectAmount(1000)
198 , maxPacketSize(1500)
199 , maxConnectingAttempts(3)
200 , minReconnectingTimeout(3)
201 , replayMaxPacketsNumber(10000)
202 , buildInternalOrderBooks(false)
203 , buildMarketByPrice(false)
397 std::ostringstream out;
bool operator==(const ServiceDescriptor &other) const
Compares with another instance.
std::string networkInterface
bool valid() const
Returns true if the descriptor is valid.
unsigned int minReconnectingTimeout
Minimum timeout value between attempts to connect replay and recovery services (sec), default value is 3 sec.
std::string password
Password.
bool buildMarketByPrice
Build Market By Price;.
bool operator!=(const ServiceDescriptor &other) const
Compares with another instance.
std::string logDirectory
Log files are stored in this directory.
TcpFeedDescriptor grpTcpService
Gap request TCP service credentials.
bool buildInternalOrderBooks
Build internal books.
unsigned int replayMaxPacketsNumber
Lost packets threshold when the Handler prefers replay, should not exceed 10000.
TcpServiceDescriptor serviceB
Service B.
TcpServiceDescriptor(const std::string &addr, unsigned int port, const std::string &subId, const std::string &name, const std::string &pass)
std::set< std::string > Symbols
Alias for symbol list.
ServiceDescriptor serviceA
Service A.
UInt32 outOfOrderPacketMaxInterval
FeedDescriptor grpMulticastFeed
Gap response feed.
Log file read permissions.
std::string licenseString
License string.
Service endpoint description.
std::string licenseDirectory
Path to the license directory.
ThreadAffinity grpTcpServiceSendingAffinity
Gap request TCP service sending affinity.
ONIXS_CBOECFE_PITCH_API std::ostream & operator<<(std::ostream &stream, const ServiceDescriptor &descriptor)
unsigned int maxBooksObjectAmount
Defines size of pre-allocated memory for Order Book. Default value is 100.
ThreadAffinity spinTcpServiceRecvAffinity
Spin request TCP service receiving affinity.
unsigned short maxPacketSize
Max size for network packet transmitted by Eurex.
std::string username
Username.
std::string networkInterfaceForTcpServices
UInt32 lostPacketWaitTime
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
bool valid() const
Returns true if the descriptor points to valid ip address.
TcpFeedDescriptor spinTcpService
Spin TCP service credentials.
std::string networkInterfaceA
std::string logFileNamePrefix
Template of log file name without extension.
std::string toString() const
Returns the string representation.
unsigned int maxConnectingAttempts
Max number of attempts to connect replay and recovery services, default value is 3.
std::string networkInterfaceB
unsigned port
Port number.
ThreadAffinity spinTcpServiceSendingAffinity
Spin request TCP service sending affinity.
Represents set of CPU indices.
FeedDescriptor realtimeMulticastFeed
Realtime feed.
Symbols symbols
Symbols for filtration.
ThreadAffinity grpTcpServiceRecvAffinity
Gap request TCP service receiving affinity.
HandlerSettings()
Constructor.
std::string networkInterfaceForGapResponse
Describse CFE services such as grp or spin.
LogFilePermission::Enum logFilePermissions
TcpServiceDescriptor serviceA
Service A.
std::string sessionSubId
SessionSubId supplied by CFE.
std::string address
Ip address.
ServiceDescriptor(const std::string &a, unsigned int port)
Handler configuration settings.
ServiceDescriptor serviceB
Service B.