B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
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 (const char *host, int port, int hbi=30, FIXMessage *customLogonMsg=NULL, EncryptMethod encryption=NONE, bool enableTcpBuffer=true)
 Constructor for the session-initiator.
 
 FixTcpParameters (FIXMessage *customLogonMsg=NULL, EncryptMethod encryption=NONE, bool enableTcpBuffer=true)
 Constructor for the session-acceptor.
 

Public Attributes

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

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.