38 : packetMaxSize_(1420)
40 , socketBufferSize_(8 * 1024 * 1024)
53 return packetMaxSize_;
59 packetMaxSize_ =
value;
86 return socketBufferSize_;
92 socketBufferSize_ =
value;
106 return dataWaitTime_;
112 dataWaitTime_ =
value;
132 toStr(str, settings);
176 Workhorse* workhorse_;
Designed to reflect various aspects of feed engine processing flow.
std::string toStr(const SocketFeedEngineSettings &settings)
Serializes feed engine settings into a string.
#define ONIXS_CMEMDH_OVERRIDE
void dataWaitTime(UInt32 value)
Sets dataWaitTime.
The given class implements feed engine concept using pool of working threads and standard socket API...
void socketBufferSize(UInt32 value)
Sets socketBufferSize.
Represents a collection of settings affecting the behavior of the multi-threaded feed engine while wo...
UInt32 dataWaitTime() const
Defines amount of time Feed Engine spends on socket waiting for I/O while running master processing l...
#define ONIXS_CMEMDH_LTWT
Abstraction for the Feed Engine machinery.
void packetMaxSize(PacketSize value)
Max size for network packet transmitted by MDP.
bool process(NetFeedEngine &engine)
Carries out pending actions like data retrieval and event dispatching.
UInt32 socketBufferSize() const
Defines size of receiving buffer in bytes for sockets.
SocketFeedEngineSettings()
Initializes the given instance of the network settings with the default values.
bool value(Number &number, const MultiContainer &container, Tag tag)
Finds a tag-value entry in the given collection by the given tag and returns its value component tran...
Base attributes of market data feed.
WatchService & watch() const
Watch service to be used by Feed Engine.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_EXPORTED
~SocketFeedEngineSettings()
Cleans everything up.
Abstraction of a link used by the NetFeed instances to cover transportation layer.
PacketSize packetMaxSize() const
Max size for network packet transmitted by MDP.
UInt16 PacketSize
Integral type for measuring packets.
void watch(WatchService &watch)
Watch service to be used by Feed Engine.
#define ONIXS_CMEMDH_NAMESPACE_END