#include <BundleMarker.h>
Public Types | |
enum | { messageType = 'T' } |
Public Member Functions | |
BundleMarker () | |
BundleMarker (const char *data, size_t dataSize) | |
void | deserialize (const char *data, size_t dataSize) |
void | reset () |
std::string | toString () const |
Public Attributes | |
StartOrEnd::Enum | startOrEnd |
long long | tradeTransactionId |
bool | isTransactionEnd |
Definition at line 36 of file BundleMarker.h.
anonymous enum |
BundleMarker | ( | ) |
Default constructor.
BundleMarker | ( | const char * | data, |
size_t | dataSize | ||
) |
Initialize from raw message data.
void deserialize | ( | const char * | data, |
size_t | dataSize | ||
) |
Deserialize from raw data.
void reset | ( | ) |
Reset all fields to default values.
std::string toString | ( | ) | const |
Returns string representation.
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 52 of file BundleMarker.h.
StartOrEnd::Enum startOrEnd |
Start/End of a message bundle indicator.
Definition at line 42 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 47 of file BundleMarker.h.