B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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...
 
const char * 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

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

Constructor for the session-acceptor.

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

const FIXMessage* Engine::FixTcpParameters::customLogonMsg_

Custom Logon message.

The FixTcpParameters doesn't own the custom logon message.

bool Engine::FixTcpParameters::enableTcpBuffer_

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

EncryptMethod Engine::FixTcpParameters::encryption_

the encrypt method

int Engine::FixTcpParameters::hbi_

heartbeat interval (in seconds).

For the session-initiator only.

const char* Engine::FixTcpParameters::host_

remote FIX engine's host name or address.

For the session-initiator only.

int Engine::FixTcpParameters::port_

remote FIX engine's port.

For the session-initiator only.

const StringProperties* Engine::FixTcpParameters::protocolConfig_

Container for auxiliary named properties.