32 ONIXS_SGXTITAN_ITCH_NAMESPACE_BEGIN
42 : address (a), port (p)
46 : address (descriptor.address), port (descriptor.port)
58 return address == other.
address && port == other.
port;
64 return address != other.
address || port != other.
port;
70 return !address.empty() && port > 0;
112 : licenseDirectory(
"")
113 , logDirectory(
"logs")
114 , logFileNamePrefix(
"SgxTitanItch")
118 , heartbeatInterval(1)
119 , outOfOrderPacketMaxInterval(3)
120 , lostPacketWaitTime(100000)
123 , maxRetransmissionResponseTime(30)
124 , maxBooksObjectAmount(1000)
125 , buildInternalOrderBooks(false)
126 , maxPacketSize(1500)
127 , maxConnectingAttempts(3)
128 , minReconnectingTimeout(3)
129 , retransmissionMaxPacketNumber(10000)
298 std::ostringstream out;
304 ONIXS_SGXTITAN_ITCH_NAMESPACE_END
ServiceDescriptor(const std::string &a, unsigned p)
std::set< std::string > Symbols
Alias for symbol list.
std::string licenseDirectory
Path to the license directory.
unsigned int maxRetransmissionResponseTime
Maximum timeout to wait retransmission responses (sec), default value is 30 sec.
unsigned int maxConnectingAttempts
Max number of attempts to connect replay and recovery services, default value is 3.
std::string glimpsePassword
Password assigned for GLIMPSE.
std::string glimpseUsername
Username assigned for GLIMPSE.
unsigned port
Port number.
FeedDescriptor glimpseFeed
GLIMPSE feed.
unsigned int minReconnectingTimeout
Minimum timeout value between attempts to connect replay and recovery services (sec), default value is 3 sec.
std::string logFileNamePrefix
Template of log file name without extension.
unsigned short maxPacketSize
Max size for network packet transmitted.
std::string networkInterfaceForTcpServices
ServiceDescriptor(const ServiceDescriptor &descriptor)
UInt32 lostPacketWaitTime
FeedDescriptor itchFeed
ITCH Live feed.
HandlerSettings()
Constructor.
LogFilePermission::Enum logFilePermissions
std::string toString() const
Returns the string representation.
Service endpoint description.
std::string networkInterfaceB
std::string networkInterface
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
std::string networkInterfaceA
bool valid() const
Returns true if the descriptor points to valid ip address.
std::string logDirectory
Log files are stored in this directory.
ServiceDescriptor serviceB
Service B.
bool operator!=(const Price &left, const Price &right)
bool buildInternalOrderBooks
Build internal books.
bool operator==(const Price &left, const Price &right)
Log file read permissions.
std::string address
Ip address.
unsigned int maxBooksObjectAmount
Defines size of prea-llocated memory for Order Book. Default value is 1000.
Handler configuration settings.
FeedDescriptor retransmissionFeed
Retransmission feed.
ServiceDescriptor serviceA
Service A.
unsigned int retransmissionMaxPacketNumber
Lost packets threshold when the Handler prefers retransmission.
UInt32 outOfOrderPacketMaxInterval
ONIXS_SGXTITAN_ITCH_API std::ostream & operator<<(std::ostream &stream, const HandlerSettings &settings)