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

Login reject packet ('J'). More...

Detailed Description

Login reject packet ('J').

Sent by server in response to a failed login request. Contains a reason code indicating why the login was rejected.

Wire format (4 bytes):

  • Header (3 bytes)
  • Reject Code (1 byte): Reason for rejection
Note
Packet type: 'J'
See also
RejectReasonCode

#include <nasdaq/soupbintcp/Messages.h>

Inheritance diagram for b2bits::nasdaq::soupbintcp::LoginReject:

Public Member Functions

 LoginReject ()
 Construct a login reject packet.
RejectReasonCode get_reject_code () const
 Get rejection reason code.
void set_reject_code (RejectReasonCode val)
 Set rejection reason code.
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 = 'J'
 Packet type identifier.

Constructor & Destructor Documentation

◆ LoginReject()

b2bits::nasdaq::soupbintcp::LoginReject::LoginReject ( )
inline

Construct a login reject packet.

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

Member Function Documentation

◆ get_reject_code()

RejectReasonCode b2bits::nasdaq::soupbintcp::LoginReject::get_reject_code ( ) const
inline

Get rejection reason code.

Returns
Reason why login was rejected

◆ set_reject_code()

void b2bits::nasdaq::soupbintcp::LoginReject::set_reject_code ( RejectReasonCode val)
inline

Set rejection reason code.

Parameters
valReason code to set

Member Data Documentation

◆ Type

char b2bits::nasdaq::soupbintcp::LoginReject::Type = 'J'
staticconstexpr

Packet type identifier.

Referenced by LoginReject().


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