OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.18.0
API documentation
BundleMarker Struct Reference

#include <BundleMarker.h>

Public Types

enum  { messageType = 'T' }
 

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

Message type constant.

Enumerator
messageType 

Definition at line 39 of file BundleMarker.h.

Constructor & Destructor Documentation

Default constructor.

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

Initialize from raw message data.

Member Function Documentation

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

Deserialize from raw data.

void reset ( )

Reset all fields to default values.

std::string toString ( ) const

Returns string representation.

Member Data Documentation

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::Enum startOrEnd

Start/End of a message bundle indicator.

Definition at line 45 of file BundleMarker.h.

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.


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