#include <MarketEvent.h>
Public Types | |
enum | { messageType = 'f' } |
Public Member Functions | |
MarketEvent () | |
MarketEvent (const char *data, std::size_t dataSize) | |
void | deserialize (const char *data, std::size_t dataSize) |
void | reset () |
std::string | toString () const |
Public Attributes | |
MarketId | marketId |
MarketEventType::Enum | eventType |
DateTime | dateTime |
Definition at line 36 of file MarketEvent.h.
anonymous enum |
MarketEvent | ( | ) |
Default constructor.
MarketEvent | ( | const char * | data, |
std::size_t | dataSize | ||
) |
Initialize from raw message data.
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.
DateTime dateTime |
Date time this message was sent. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition at line 52 of file MarketEvent.h.
MarketEventType::Enum eventType |
Market event type.
Definition at line 48 of file MarketEvent.h.
MarketId marketId |
Unique identifier of the market.
Definition at line 45 of file MarketEvent.h.