67 return address == other.
address && port == other.
port;
79 return !address.empty() && port > 0;
117 const std::string& addr,
unsigned int port,
const std::string& ssn)
125 , session(other.session)
182 : licenseDirectory(
"")
183 , logDirectory(
"logs")
184 , logFileNamePrefix(
"EuroTlxGtp")
188 , heartbeatInterval(3)
189 , outOfOrderPacketMaxInterval(3)
190 , lostPacketWaitTime(100000)
193 , maxPacketSize(1500)
194 , maxConnectingAttempts(3)
195 , minReconnectingTimeout(3)
196 , receivingTimeout(10)
198 , replayMaxPacketsNumber(65000)
199 , sequenceResetThreshold(5000)
363 std::ostringstream out;
std::string networkInterface
HandlerSettings()
Constructor.
FeedDescriptor realtimeMulticastFeed
Realtime feed.
std::string session
Session supplied by LSEG.
TcpFeedDescriptor recoveryTcpService
Recovery TCP service credentials.
std::string address
Ip address.
bool operator==(const ServiceDescriptor &other) const
Compares with another instance.
ServiceDescriptor(const ServiceDescriptor &descriptor)
unsigned int receivingTimeout
Minimum timeout value to wait for a response from replay and recovery services (sec), default value is 10 sec.
ServiceDescriptor serviceB
Service B.
Handler configuration settings.
LogFilePermission::Enum logFilePermissions
ServiceDescriptor serviceA
Service A.
std::string licenseDirectory
Path to the license directory.
std::string networkInterfaceB
unsigned port
Port number.
bool operator!=(const ServiceDescriptor &other) const
Compares with another instance.
TcpFeedDescriptor replayTcpService
Replay TCP service credentials.
bool valid() const
Returns true if the descriptor points to valid ip address.
TcpServiceDescriptor(const TcpServiceDescriptor &other)
std::string logFileNamePrefix
Template of log file name without extension.
unsigned int minReconnectingTimeout
Minimum timeout value between attempts to connect replay and recovery services (sec), default value is 3 sec.
unsigned int maxConnectingAttempts
Max number of attempts to connect replay and recovery services, default value is 3.
TcpServiceDescriptor(const std::string &addr, unsigned int port, const std::string &ssn)
TcpServiceDescriptor serviceB
Service B.
std::string networkInterfaceA
unsigned int sequenceResetThreshold
Threshold to detect sequence reset.
unsigned int replayMaxPacketsNumber
Lost packets threshold when the Handler prefers replay, must not exceed 65000.
ServiceDescriptor(const std::string &a, unsigned int port)
std::string networkInterfaceForTcpServices
std::set< std::string > Symbols
Alias for symbol list.
Log file read permissions.
std::string logDirectory
Log files are stored in this directory.
UInt32 lostPacketWaitTime
Describse GTP services such as replay or recovery.
TcpServiceDescriptor serviceA
Service A.
std::string toString() const
Returns the string representation.
ONIXS_EUROTLX_GTP_API std::ostream & operator<<(std::ostream &stream, const ServiceDescriptor &descriptor)
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
bool valid() const
Returns true if the descriptor is valid.
UInt32 outOfOrderPacketMaxInterval
Service endpoint description.
unsigned short maxPacketSize
Max size for network packet transmitted by GTP.
unsigned int sendingTimeout
Heartbeat interval for sending packets to replay and recovery services (sec), default value is 10 sec...