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
inline

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

Time is measured in milliseconds.

Note
Default value is '10'.
Warning
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)
inline

Sets dataWaitTime.

See also
dataWaitTime.

Definition at line 110 of file SocketFeedEngine.h.

PacketSize packetMaxSize ( ) const
inline

Max size for network packet transmitted by MDP.

Note
Default value is '1420'.

Definition at line 51 of file SocketFeedEngine.h.

void packetMaxSize ( PacketSize  value)
inline

Max size for network packet transmitted by MDP.

Definition at line 57 of file SocketFeedEngine.h.

UInt32 socketBufferSize ( ) const
inline

Defines size of receiving buffer in bytes for sockets.

Note
Default value is 8 MiB.

Definition at line 84 of file SocketFeedEngine.h.

void socketBufferSize ( UInt32  value)
inline

Sets socketBufferSize.

See also
socketBufferSize.

Definition at line 90 of file SocketFeedEngine.h.

WatchService& watch ( ) const
inline

Watch service to be used by Feed Engine.

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

Note
By default, UTC watch service is used.

Definition at line 68 of file SocketFeedEngine.h.

void watch ( WatchService watch)
inline

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: