B2BITS FIX Antenna C++  2.31.0
Public Member Functions | Public Attributes | List of all members
Engine::FixTcpParameters Struct Reference

The FIX_TCP underlying protocol properties. More...

#include <B2BITS_SessionParameters.h>

+ Inheritance diagram for Engine::FixTcpParameters:
+ Collaboration diagram for Engine::FixTcpParameters:

Public Member Functions

 FixTcpParameters (FIXMessage *customLogonMsg=NULL, EncryptMethod encryption=NONE, bool enableTcpBuffer=true)
 Constructor for the session-acceptor. More...
 
 FixTcpParameters (const char *host, int port, int hbi=30, FIXMessage *customLogonMsg=NULL, EncryptMethod encryption=NONE, bool enableTcpBuffer=true)
 Constructor for the session-initiator. More...
 

Public Attributes

const FIXMessagecustomLogonMsg_
 Custom Logon message. More...
 
bool enableTcpBuffer_
 enabled the TCP buffer (Nagle algorithm) for the session. More...
 
EncryptMethod encryption_
 the encrypt method More...
 
int hbi_
 heartbeat interval (in seconds). More...
 
std::string host_
 remote FIX engine's host name or address. More...
 
int port_
 remote FIX engine's port. More...
 
const StringPropertiesprotocolConfig_
 Container for auxiliary named properties. More...
 

Detailed Description

The FIX_TCP underlying protocol properties.

Constructor & Destructor Documentation

◆ FixTcpParameters() [1/2]

Engine::FixTcpParameters::FixTcpParameters ( FIXMessage customLogonMsg = NULL,
EncryptMethod  encryption = NONE,
bool  enableTcpBuffer = true 
)
inline

Constructor for the session-acceptor.

◆ FixTcpParameters() [2/2]

Engine::FixTcpParameters::FixTcpParameters ( const char *  host,
int  port,
int  hbi = 30,
FIXMessage customLogonMsg = NULL,
EncryptMethod  encryption = NONE,
bool  enableTcpBuffer = true 
)
inline

Constructor for the session-initiator.

Member Data Documentation

◆ customLogonMsg_

const FIXMessage* Engine::FixTcpParameters::customLogonMsg_

Custom Logon message.

The FixTcpParameters doesn't own the custom logon message.

◆ enableTcpBuffer_

bool Engine::FixTcpParameters::enableTcpBuffer_

enabled the TCP buffer (Nagle algorithm) for the session.

◆ encryption_

EncryptMethod Engine::FixTcpParameters::encryption_

the encrypt method

◆ hbi_

int Engine::FixTcpParameters::hbi_

heartbeat interval (in seconds).

For the session-initiator only.

◆ host_

std::string Engine::FixTcpParameters::host_

remote FIX engine's host name or address.

For the session-initiator only.

◆ port_

int Engine::FixTcpParameters::port_

remote FIX engine's port.

For the session-initiator only.

◆ protocolConfig_

const StringProperties* Engine::FixTcpParameters::protocolConfig_

Container for auxiliary named properties.