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

Classes

struct  Settings
 SoupBinTCP session settings. More...
class  PacketHeader
 SoupBinTCP packet header. More...
class  DebugPacket
 Debug packet ('+'). More...
class  LoginAccepted
 Login accepted packet ('A'). More...
class  LoginReject
 Login reject packet ('J'). More...
class  SequencedData
 Sequenced data packet ('S'). More...
class  ServerHeartbeat
 Server heartbeat packet ('H'). More...
class  EndOfSession
 End of session packet ('Z'). More...
class  LoginRequest
 Login request packet ('L'). More...
class  UnsequencedData
 Unsequenced data packet ('U'). More...
class  ClientHeartbeat
 Client heartbeat packet ('R'). More...
class  LogoutRequest
 Logout request packet ('O'). More...

Enumerations

enum struct  RejectReasonCode : char { NotAuthorized = 'A' , SessionUnavailable = 'S' }
 Login rejection reason codes. More...

Functions

static std::string_view to_string (RejectReasonCode v)
 Convert RejectReasonCode to string representation.

Class Documentation

◆ b2bits::nasdaq::soupbintcp::Settings

struct b2bits::nasdaq::soupbintcp::Settings

SoupBinTCP session settings.

Configuration parameters for establishing and maintaining a SoupBinTCP TCP session. Includes authentication credentials, network endpoints for redundant servers, and connection parameters.

Class Members
uint32_t hb_interval_ = 1000 Heartbeat send interval in milliseconds.
uint32_t hb_timeout_ = 3000 Heartbeat receive timeout in milliseconds (connection loss detection).
string local_ip_ Local IP address to bind (empty for any).
string password_ Password for authentication.
Endpoint remote_a_ Primary server endpoint (IP:Port).
Endpoint remote_b_ Secondary/backup server endpoint (IP:Port).
bool tcp_keep_alive_ = true Enable TCP keep-alive mechanism.
uint32_t tcp_recv_buffer_size_ = 0 TCP receive buffer size in KB (0 = system default).
uint32_t tcp_send_buffer_size_ = 0 TCP send buffer size in KB (0 = system default).
string username_ Username for authentication.

Enumeration Type Documentation

◆ RejectReasonCode

Login rejection reason codes.

Indicates why a login request was rejected by the server.

Enumerator
NotAuthorized 

Invalid credentials or insufficient permissions.

SessionUnavailable 

Requested session is not available.

Function Documentation

◆ to_string()

std::string_view b2bits::nasdaq::soupbintcp::to_string ( RejectReasonCode v)
static

Convert RejectReasonCode to string representation.

Parameters
vRejection reason code
Returns
String view containing "NotAuthorized", "SessionUnavailable", or "Unknown value"

References NotAuthorized, and SessionUnavailable.