#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 |
Definition at line 33 of file GroupSubscription.h.
GroupSubscription | ( | const std::string & | groupName, |
MarketSubType::Enum | marketSubType = MarketSubType::NonImplied , |
||
BookDepth::Enum | bookDepth = BookDepth::TOP5PL |
||
) |
Initializes group subscription attributes.
|
static |
Deserialize from a string representation.
|
inline |
Returns true if current instance is not equal to the given.
Definition at line 104 of file GroupSubscription.h.
|
inline |
Returns true if this market subscription is less than a given.
Definition at line 109 of file GroupSubscription.h.
|
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.
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.
Definition at line 51 of file GroupSubscription.h.
MarketSubType::Enum marketSubType |
Specifies type of market functionality.
By default, all subscription is for non-implied channels.
Definition at line 44 of file GroupSubscription.h.