OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.10.0
API documentation
GroupSubscription Struct Reference

#include <GroupSubscription.h>

Public Member Functions

 GroupSubscription (const std::string &groupName, MarketSubType::Enum marketSubType=MarketSubType::NonImplied, BookDepth::Enum bookDepth=BookDepth::TOP5PL)
 
bool operator== (const GroupSubscription &) const
 
bool operator!= (const GroupSubscription &) const
 
bool operator< (const GroupSubscription &) const
 
std::string toString () const
 

Static Public Member Functions

static GroupSubscription deserialize (const std::string &)
 

Public Attributes

std::string groupName
 
MarketSubType::Enum marketSubType
 
BookDepth::Enum bookDepth
 
MarketIds marketIds
 

Detailed Description

Definition at line 33 of file GroupSubscription.h.

Constructor & Destructor Documentation

GroupSubscription ( const std::string &  groupName,
MarketSubType::Enum  marketSubType = MarketSubType::NonImplied,
BookDepth::Enum  bookDepth = BookDepth::TOP5PL 
)

Initializes group subscription attributes.

Member Function Documentation

static GroupSubscription deserialize ( const std::string &  )
static

Deserialize from a string representation.

bool operator!= ( const GroupSubscription rhs) const
inline

Returns true if current instance is not equal to the given.

Definition at line 96 of file GroupSubscription.h.

bool operator< ( const GroupSubscription right) const
inline

Returns true if this market subscription is less than a given.

Definition at line 101 of file GroupSubscription.h.

bool operator== ( const GroupSubscription rhs) const
inline

Returns true if current instance is equal to the given.

Definition at line 79 of file GroupSubscription.h.

std::string toString ( ) const

Returns string representation.

Member Data Documentation

BookDepth::Enum bookDepth

Specifies book depth.

Definition at line 47 of file GroupSubscription.h.

std::string groupName

Multicast group name.

Definition at line 36 of file GroupSubscription.h.

MarketIds marketIds

Specifies a list of market ID's for which Handler calls callbacks.

Note
If the list is empty, calls will be made for all ID's.

Definition at line 51 of file GroupSubscription.h.

MarketSubType::Enum marketSubType

Specifies type of market functionality.

Note
As a result of the increased messaging over the full implied channels, you may experience additional latency as compared to the non-full implied channels.

By default all subscription is for non-implied channels.

Definition at line 44 of file GroupSubscription.h.


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