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

#include <MarketStateChange.h>

Public Types

enum  { messageType = 'K' }
 

Public Member Functions

 MarketStateChange ()
 
 MarketStateChange (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
 
TradingStatus::Enum tradingStatus
 
DateTime dateTime
 

Detailed Description

Definition at line 36 of file MarketStateChange.h.

Member Enumeration Documentation

anonymous enum

Message type constant.

Enumerator
messageType 

Definition at line 39 of file MarketStateChange.h.

Constructor & Destructor Documentation

Default constructor.

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

DateTime dateTime

Date time the message was sent. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.

Definition at line 52 of file MarketStateChange.h.

MarketId marketId

Unique identifier of the market.

Definition at line 45 of file MarketStateChange.h.

TradingStatus::Enum tradingStatus

See Appendix A on the trading status codes.

Definition at line 48 of file MarketStateChange.h.


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