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

Public Types

enum  

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

Detailed Description

Definition at line 36 of file MarketEvent.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message type constant.

Enumerator
messageType 'f' 

Definition at line 39 of file MarketEvent.h.

Constructor & Destructor Documentation

◆ MarketEvent() [1/2]

Default constructor.

◆ MarketEvent() [2/2]

MarketEvent ( 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

◆ dateTime

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.

◆ eventType

Market event type.

Definition at line 48 of file MarketEvent.h.

◆ marketId

MarketId marketId

Unique identifier of the market.

Definition at line 45 of file MarketEvent.h.