ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
Loading...
Searching...
No Matches
b2bits::nasdaq::MsgT< Protocol, M > Struct Template Reference

Message adapter template. More...

Detailed Description

template<class Protocol, class M>
struct b2bits::nasdaq::MsgT< Protocol, M >

Message adapter template.

Combines a protocol-specific header (MoldUDP64 or SoupBinTCP) with an ITCH message type to create a complete wire-format message.

Template Parameters
ProtocolProtocol header type (MessageBlock, SequencedData, etc.)
MITCH message type
Note
Uses multiple inheritance to layer protocol and message headers

#include <nasdaq/common/Types.h>

Inheritance diagram for b2bits::nasdaq::MsgT< Protocol, M >:

Public Member Functions

 MsgT (UInt16 length=sizeof(MsgT))
 Construct a message with protocol header.

Constructor & Destructor Documentation

◆ MsgT()

template<class Protocol, class M>
b2bits::nasdaq::MsgT< Protocol, M >::MsgT ( UInt16 length = sizeof(MsgT< Protocol, M >))
inline

Construct a message with protocol header.

Initializes the protocol header with the specified length and sets the message type field from the message's Type constant.

Parameters
lengthTotal message length (defaults to sizeof(MsgT))

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