OnixS C++ CME MDP Conflated UDP Handler  1.0.2
API documentation
SocketFeedEngineSettings Class Reference

#include <OnixS/CME/ConflatedUDP/SocketFeedEngine.h>

Public Member Functions

 SocketFeedEngineSettings ()
 ~SocketFeedEngineSettings ()
PacketSize packetMaxSize () const
void packetMaxSize (PacketSize value)
WatchServicewatch () const
void watch (WatchService &watch)
UInt32 socketBufferSize () const
void socketBufferSize (UInt32 value)
UInt32 dataWaitTime () const
void dataWaitTime (UInt32 value)

Detailed Description

Represents a collection of settings affecting the behavior of the multi-threaded feed engine while working with network-related services.

Definition at line 32 of file SocketFeedEngine.h.

Constructor & Destructor Documentation

Initializes the given instance of the network settings with the default values.

Definition at line 44 of file SocketFeedEngine.h.

Cleans everything up.

Definition at line 53 of file SocketFeedEngine.h.

Member Function Documentation

UInt32 dataWaitTime ( ) const

Defines amount of time Feed Engine spends on socket waiting for I/O while running master processing loop.

Time is measured in milliseconds.

Default value is '10'.
The given parameter significantly affects responsiveness of the Handler and load onto CPU.

Definition at line 121 of file SocketFeedEngine.h.

void dataWaitTime ( UInt32  value)

Sets dataWaitTime.

See also

Definition at line 128 of file SocketFeedEngine.h.

PacketSize packetMaxSize ( ) const

Max size for network packet transmitted by MDP.

Default value is '1420'.

Definition at line 60 of file SocketFeedEngine.h.

void packetMaxSize ( PacketSize  value)

Max size for network packet transmitted by MDP.

Definition at line 67 of file SocketFeedEngine.h.

UInt32 socketBufferSize ( ) const

Defines size of receiving buffer in bytes for sockets.

Default value is 8 MiB.

Definition at line 98 of file SocketFeedEngine.h.

void socketBufferSize ( UInt32  value)

Sets socketBufferSize.

See also

Definition at line 105 of file SocketFeedEngine.h.

WatchService& watch ( ) const

Watch service to be used by Feed Engine.

Watch is used by Feed Engine to assign time points to packets received from the feeds.

By default, UTC watch service is used.

Definition at line 79 of file SocketFeedEngine.h.

void watch ( WatchService watch)

Watch service to be used by Feed Engine.

If no instance associated, UTC watch is used.

Definition at line 88 of file SocketFeedEngine.h.

The documentation for this class was generated from the following file: