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