OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
FeedSettings Class Reference

Public Member Functions

 FeedSettings (SettingChangeController *controller=nullptr)
 FeedSettings (const FeedSettings &other)
FeedSettingsfeedANetworkInterfaces (const std::string &interfaces)
FeedSettingsfeedBNetworkInterfaces (const std::string &interfaces)
PacketSize packetMaxSize () const
FeedSettingspacketMaxSize (PacketSize value)
const RealtimeFeedSettingsincrementalFeeds () const
RealtimeFeedSettingsincrementalFeeds ()
const MulticastRecoveryFeedSettingsinstrumentFeeds () const
MulticastRecoveryFeedSettingsinstrumentFeeds ()
const MulticastRecoveryFeedSettingssnapshotFeeds () const
MulticastRecoveryFeedSettingssnapshotFeeds ()
const MulticastRecoveryFeedSettingsmboSnapshotFeeds () const
MulticastRecoveryFeedSettingsmboSnapshotFeeds ()
const TcpRecoveryFeedSettingshistoricalFeeds () const
TcpRecoveryFeedSettingshistoricalFeeds ()
NetFeedEngineengine () const
FeedSettingsengine (NetFeedEngine *engine)
FeedSettingsoperator= (const FeedSettings &other)
Public Member Functions inherited from SettingGroup
 SettingGroup (SettingChangeController *controller=nullptr)
 ~SettingGroup ()
template<class Assignee, class Value>
void controlAssignment (const Char *description, Assignee &assignee, Value value) const
template<class Changeable>
void controlChange (const Char *description, void(Changeable::*change)(), Changeable &changeable) const
template<class Change, class Changeable, class Arg>
void controlChange (const Char *description, Change change, Changeable &changeable, const Arg &arg) const
template<class Change, class Changeable, class Arg1, class Arg2>
void controlChange (const Char *description, Change change, Changeable &changeable, const Arg1 &arg1, const Arg2 &arg2) const

Friends

class PcapReplayHelper
class HandlerSettings

Additional Inherited Members

Static Public Member Functions inherited from SettingGroup
static const SettingGroupnull ()

Detailed Description

Definition at line 896 of file FeedSettings.h.

Constructor & Destructor Documentation

◆ FeedSettings() [1/2]

FeedSettings ( SettingChangeController * controller = nullptr)
inline

Initializes the instance with the default values.

Definition at line 900 of file FeedSettings.h.

◆ FeedSettings() [2/2]

FeedSettings ( const FeedSettings & other)
inline

Initializes the instance as a copy of the other one.

Definition at line 914 of file FeedSettings.h.

Member Function Documentation

◆ engine() [1/2]

NetFeedEngine * engine ( ) const
inline

Instance of the Feed Engine to be used by the Handler.

Null instance means no feed engine is yet defined.

Definition at line 1042 of file FeedSettings.h.

◆ engine() [2/2]

FeedSettings & engine ( NetFeedEngine * engine)
inline

Defines instance of the Feed Engine to be used by the Handler.

Definition at line 1048 of file FeedSettings.h.

◆ feedANetworkInterfaces()

FeedSettings & feedANetworkInterfaces ( const std::string & interfaces)
inline

Specifies one or more network interfaces on which to join multicast groups referring to primary (A) feeds.

Multiple interfaces can be specified using semi-colon as a delimiter.

The given member is kind of batch set-up. Manual specification of network interfaces for a particular feed is also possible through the corresponding parameters.

Definition at line 936 of file FeedSettings.h.

◆ feedBNetworkInterfaces()

FeedSettings & feedBNetworkInterfaces ( const std::string & interfaces)
inline

Specifies one or more network interfaces on which to join multicast groups referring to secondary (B) feeds.

Multiple interfaces can be specified using semi-colon as a delimiter.

The given member is kind of batch set-up. Manual specification of network interfaces for a particular feed is also possible through the corresponding parameters.

Definition at line 955 of file FeedSettings.h.

◆ historicalFeeds() [1/2]

TcpRecoveryFeedSettings & historicalFeeds ( )
inline

The settings related to historical (TCP Recovery) feeds.

Definition at line 1035 of file FeedSettings.h.

◆ historicalFeeds() [2/2]

const TcpRecoveryFeedSettings & historicalFeeds ( ) const
inline

The settings related to historical (TCP recovery) feeds.

Definition at line 1029 of file FeedSettings.h.

◆ incrementalFeeds() [1/2]

RealtimeFeedSettings & incrementalFeeds ( )
inline

The settings related to incremental feeds.

Definition at line 987 of file FeedSettings.h.

◆ incrementalFeeds() [2/2]

const RealtimeFeedSettings & incrementalFeeds ( ) const
inline

The settings related to incremental feeds.

Definition at line 981 of file FeedSettings.h.

◆ instrumentFeeds() [1/2]

MulticastRecoveryFeedSettings & instrumentFeeds ( )
inline

The settings related to instrument feeds.

Definition at line 999 of file FeedSettings.h.

◆ instrumentFeeds() [2/2]

const MulticastRecoveryFeedSettings & instrumentFeeds ( ) const
inline

The settings related to instrument feeds.

Definition at line 993 of file FeedSettings.h.

◆ mboSnapshotFeeds() [1/2]

MulticastRecoveryFeedSettings & mboSnapshotFeeds ( )
inline

The settings related to snapshot feeds.

Definition at line 1023 of file FeedSettings.h.

◆ mboSnapshotFeeds() [2/2]

const MulticastRecoveryFeedSettings & mboSnapshotFeeds ( ) const
inline

The settings related to snapshot feeds.

Definition at line 1017 of file FeedSettings.h.

◆ operator=()

FeedSettings & operator= ( const FeedSettings & other)
inline

Re-initializes the instance as a copy of the other one.

Definition at line 1057 of file FeedSettings.h.

◆ packetMaxSize() [1/2]

PacketSize packetMaxSize ( ) const
inline

Max size for network packet transmitted by MDP.

Note
Default value is '1420'.

Definition at line 967 of file FeedSettings.h.

◆ packetMaxSize() [2/2]

FeedSettings & packetMaxSize ( PacketSize value)
inline

Max size for network packet transmitted by MDP.

Definition at line 973 of file FeedSettings.h.

◆ snapshotFeeds() [1/2]

MulticastRecoveryFeedSettings & snapshotFeeds ( )
inline

The settings related to snapshot feeds.

Definition at line 1011 of file FeedSettings.h.

◆ snapshotFeeds() [2/2]

const MulticastRecoveryFeedSettings & snapshotFeeds ( ) const
inline

The settings related to snapshot feeds.

Definition at line 1005 of file FeedSettings.h.

◆ HandlerSettings

friend class HandlerSettings
friend

Definition at line 1069 of file FeedSettings.h.

◆ PcapReplayHelper

friend class PcapReplayHelper
friend

Definition at line 1065 of file FeedSettings.h.