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

#include <OnixS/CME/MDH/FeedSettings.h>

Public Member Functions

 FeedConnectionSettings (const SettingGroup *group=nullptr)
 
 FeedConnectionSettings (const FeedConnectionSettings &other)
 
 ~FeedConnectionSettings ()
 
UInt32 port () const
 
FeedConnectionSettingsport (UInt32 port)
 
const std::string & ip () const
 
FeedConnectionSettingsip (const std::string &address)
 
const HostListSettinghosts () const
 
HostListSettinghosts ()
 
FeedConnectionSettingshosts (const std::string &hosts)
 
const NifListSettingnetworkInterfaces () const
 
NifListSettingnetworkInterfaces ()
 
FeedConnectionSettingsnetworkInterfaces (const std::string &interfaces)
 
const std::string & id () const
 
FeedConnectionSettingsid (const std::string &id)
 
FeedConnectionSettingsoperator= (const FeedConnectionSettings &other)
 

Friends

template<class >
class FeedSettingsBase
 

Detailed Description

Definition at line 44 of file FeedSettings.h.

Constructor & Destructor Documentation

FeedConnectionSettings ( const SettingGroup group = nullptr)
inline

Initializes as a blank instance.

Definition at line 52 of file FeedSettings.h.

Initializes the given instance as a copy of the other one.

Definition at line 62 of file FeedSettings.h.

Finalizes the instance.

Definition at line 73 of file FeedSettings.h.

Member Function Documentation

const HostListSetting& hosts ( ) const
inline

Indicates host list of the given connection settings.

This component is the optional one and may be used to supply additional information on the connection. For example, if the connection is the multicast one, the given parameter represents a list of remote hosts from which the multicast data is actually transmitted. Also, CME doesn't use IP parameter while defining connections for the TCP Recovery feeds in the connectivity configuration file (config.xml). Instead, this one is used.

Definition at line 120 of file FeedSettings.h.

HostListSetting& hosts ( )
inline

Updates list of hosts for the given connection settings.

This component is the optional one and may be used to supply additional information on the connection. For example, if the connection is the multicast one, the given parameter represents a list of remote hosts from which the multicast data is actually transmitted. Also, CME doesn't use IP parameter while defining connections for the TCP Recovery feeds in the connectivity configuration file (config.xml). Instead, this one is used.

Definition at line 134 of file FeedSettings.h.

FeedConnectionSettings& hosts ( const std::string &  hosts)
inline

Updates list of hosts for the given connection settings from a string representing comma or semi-colon separated list of hosts.

This component is the optional one and may be used to supply additional information on the connection. For example, if the connection is the multicast one, the given parameter represents a list of remote hosts from which the multicast data is actually transmitted. Also, CME doesn't use IP parameter while defining connections for the TCP Recovery feeds in the connectivity configuration file (config.xml). Instead, this one is used.

Definition at line 149 of file FeedSettings.h.

const std::string& id ( ) const
inline

The unique connection/feed identifier.

Definition at line 190 of file FeedSettings.h.

FeedConnectionSettings& id ( const std::string &  id)
inline

Updates the connection/feed identifier.

Definition at line 196 of file FeedSettings.h.

const std::string& ip ( ) const
inline

Indicates address component of the given connection settings.

For the multicast type of connection the given parameter indicates a multicast group to join to. For the streamed/TCP connections the given parameter indicates the remote host to connect to.

Definition at line 94 of file FeedSettings.h.

FeedConnectionSettings& ip ( const std::string &  address)
inline

Updates address component of the given connection settings.

For the multicast type of connection the given parameter indicates a multicast group to join to. For the streamed/TCP connections the given parameter indicates the remote host to connect to.

Definition at line 104 of file FeedSettings.h.

const NifListSetting& networkInterfaces ( ) const
inline

List of network interfaces for the given connection settings.

If the settings refers to a multicast group, the given parameter indicates a list of network interfaces on which the multicast data must be listen to.

Definition at line 161 of file FeedSettings.h.

NifListSetting& networkInterfaces ( )
inline

List of network interfaces for the given connection settings.

If the settings refers to a multicast group, the given parameter indicates a list of network interfaces on which the multicast data must be listen to.

Definition at line 171 of file FeedSettings.h.

FeedConnectionSettings& networkInterfaces ( const std::string &  interfaces)
inline

Specifies one or more network interfaces on which to join the multicast group if the settings define multicast connection.

Use semi-colon delimited list to specify multiple interfaces.

Note
On Linux the network interface is specified by its name, on Windows - by IP address.

Definition at line 182 of file FeedSettings.h.

FeedConnectionSettings& operator= ( const FeedConnectionSettings other)
inline

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

Definition at line 204 of file FeedSettings.h.

UInt32 port ( ) const
inline

Port component of the given connection settings.

Definition at line 76 of file FeedSettings.h.

FeedConnectionSettings& port ( UInt32  port)
inline

Updates port number for the given connection settings.

Definition at line 82 of file FeedSettings.h.

Friends And Related Function Documentation

friend class FeedSettingsBase
friend

Definition at line 49 of file FeedSettings.h.


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