OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
BundleMarker Struct Reference

Public Types

enum  

Public Member Functions

 BundleMarker ()
 BundleMarker (const char *data, std::size_t dataSize)
void deserialize (const char *data, std::size_t dataSize)
void reset ()
std::string toString () const

Public Attributes

StartOrEnd::Enum startOrEnd
long long tradeTransactionId
bool isTransactionEnd

Detailed Description

Definition at line 36 of file BundleMarker.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message type constant.

Enumerator
messageType 'T' 

Definition at line 39 of file BundleMarker.h.

Constructor & Destructor Documentation

◆ BundleMarker() [1/2]

Default constructor.

◆ BundleMarker() [2/2]

BundleMarker ( const char * data,
std::size_t dataSize )

Initialize from raw message data.

Member Function Documentation

◆ deserialize()

void deserialize ( const char * data,
std::size_t dataSize )

Deserialize from raw data.

◆ reset()

void reset ( )

Reset all fields to default values.

◆ toString()

std::string toString ( ) const

Returns string representation.

Member Data Documentation

◆ isTransactionEnd

bool isTransactionEnd

This field will always be set to false for Start of a message bundle. true - When this is the last or only bundle for a transaction. false - When this is not the last or only bundle for a transaction.

Definition at line 55 of file BundleMarker.h.

◆ startOrEnd

StartOrEnd::Enum startOrEnd

Start/End of a message bundle indicator.

Definition at line 45 of file BundleMarker.h.

◆ tradeTransactionId

long long tradeTransactionId

The value used to associate bundles of the same transaction. This value will be 0 when the transaction has no trade. The value will be -1 if the channel does not support sub-bundling.

Definition at line 50 of file BundleMarker.h.