OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
SocketFeedEngineSettings Class Reference

#include <OnixS/CME/MDH/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

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 37 of file SocketFeedEngine.h.

Cleans everything up.

Definition at line 46 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 104 of file SocketFeedEngine.h.

void dataWaitTime ( UInt32  value)

Sets dataWaitTime.

See also

Definition at line 110 of file SocketFeedEngine.h.

PacketSize packetMaxSize ( ) const

Max size for network packet transmitted by MDP.

Default value is '1420'.

Definition at line 51 of file SocketFeedEngine.h.

void packetMaxSize ( PacketSize  value)

Max size for network packet transmitted by MDP.

Definition at line 57 of file SocketFeedEngine.h.

UInt32 socketBufferSize ( ) const

Defines size of receiving buffer in bytes for sockets.

Default value is 8 MiB.

Definition at line 84 of file SocketFeedEngine.h.

void socketBufferSize ( UInt32  value)

Sets socketBufferSize.

See also

Definition at line 90 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 68 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 76 of file SocketFeedEngine.h.

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