eSpeed Multicast Market Data Handler for C++  1.5.2.0
Public Member Functions | Public Attributes | List of all members
HandlerSettings Struct Reference

Configuration settings. More...

Public Member Functions

 HandlerSettings ()
 Constructor.
 
std::string toString () const
 Returns the string representation.
 

Public Attributes

std::string licenseDirectory
 Path to the license directory.
 
std::string logDirectory
 Log files are stored in this directory.
 
std::string logFile
 Template of log file name without extension.
 
LogSettings::Enum logSettings
 Combine LogSettings enum values to configure the logger.
 
LogLevel::Enum logLevel
 Log verbosity. More...
 
std::string networkInterface
 Specifies one or more network interfaces to use while joining the multicast group; use semi-colon delimited list if more than one. More...
 
size_t udpBufferSize
 This option determines the size in bytes of a buffer that is used by multicast transport. More...
 
int receiveTimeoutInMilliseconds
 The amount of time a Handler will wait to receive data once a read operation is initiated. More...
 

Detailed Description

Configuration settings.

Member Data Documentation

LogLevel::Enum logLevel

Log verbosity.

Note
The default value is LogLevel::Info
std::string networkInterface

Specifies one or more network interfaces to use while joining the multicast group; use semi-colon delimited list if more than one.

Note
On Linux the network interface is specified by its name, on Windows - by IP address.
If the value is empty or absent then the default networking interface is used.
int receiveTimeoutInMilliseconds

The amount of time a Handler will wait to receive data once a read operation is initiated.

By default, timeout is 36000 ms.

size_t udpBufferSize

This option determines the size in bytes of a buffer that is used by multicast transport.

By default, buffer size is 4MiB (4194304 bytes).

Attention
On Linux, the kernel doubles this value (to allow space for bookkeeping overhead) when it is set using setsockopt, and this doubled value is returned by getsockopt. For more details please see http://linux.die.net/man/7/socket.