ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
Loading...
Searching...
No Matches
b2bits::nasdaq::soupbintcp::EndOfSession Class Reference

End of session packet ('Z'). More...

Detailed Description

End of session packet ('Z').

Sent by server to indicate normal session termination. After receiving this packet, the client should close the connection.

Wire format (3 bytes):

  • Header (3 bytes)
Note
Packet type: 'Z'

#include <nasdaq/soupbintcp/Messages.h>

Inheritance diagram for b2bits::nasdaq::soupbintcp::EndOfSession:

Public Member Functions

 EndOfSession ()
 Construct an end of session packet.
Public Member Functions inherited from b2bits::nasdaq::soupbintcp::PacketHeader
 PacketHeader ()=default
 Default constructor.
 PacketHeader (Alpha type, UInt16 len)
 Construct packet header with type and length.
UInt16 get_message_length () const
 Get total message length including length field.
void set_message_length (UInt16 val)
 Set message length.
Alpha get_packet_type () const
 Get packet type.
void set_packet_type (Alpha val)
 Set packet type.

Static Public Attributes

static constexpr char Type = 'Z'
 Packet type identifier.

Constructor & Destructor Documentation

◆ EndOfSession()

b2bits::nasdaq::soupbintcp::EndOfSession::EndOfSession ( )
inline

Construct an end of session packet.

References b2bits::nasdaq::soupbintcp::PacketHeader::PacketHeader(), and Type.

Member Data Documentation

◆ Type

char b2bits::nasdaq::soupbintcp::EndOfSession::Type = 'Z'
staticconstexpr

Packet type identifier.

Referenced by EndOfSession().


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