OnixS C++ FMX UST BIMP Market Data Handler 1.2.0
API documentation
Loading...
Searching...
No Matches
TcpServiceDescriptor Struct Reference

Public Member Functions

 TcpServiceDescriptor ()
 TcpServiceDescriptor (const std::string &addr, unsigned int port, const std::string &name, const std::string &pass, const std::string &ni="")
bool valid () const
bool operator== (const TcpServiceDescriptor &other) const
bool operator!= (const TcpServiceDescriptor &other) const
Public Member Functions inherited from ServiceDescriptor
 ServiceDescriptor ()
 ServiceDescriptor (const std::string &a, unsigned int port)
bool operator== (const ServiceDescriptor &other) const
bool operator!= (const ServiceDescriptor &other) const
bool valid () const

Public Attributes

std::string username
std::string password
std::string networkInterface
Public Attributes inherited from ServiceDescriptor
std::string address
unsigned port

Detailed Description

Definition at line 105 of file HandlerSettings.h.

Constructor & Destructor Documentation

◆ TcpServiceDescriptor() [1/2]

Definition at line 108 of file HandlerSettings.h.

◆ TcpServiceDescriptor() [2/2]

TcpServiceDescriptor ( const std::string & addr,
unsigned int port,
const std::string & name,
const std::string & pass,
const std::string & ni = "" )
inline

Definition at line 111 of file HandlerSettings.h.

Member Function Documentation

◆ operator!=()

bool operator!= ( const TcpServiceDescriptor & other) const
inline

Compares with another instance.

Definition at line 138 of file HandlerSettings.h.

◆ operator==()

bool operator== ( const TcpServiceDescriptor & other) const
inline

Compares with another instance.

Definition at line 130 of file HandlerSettings.h.

◆ valid()

bool valid ( ) const
inline

Returns true if the descriptor is valid.

Definition at line 121 of file HandlerSettings.h.

Member Data Documentation

◆ networkInterface

std::string networkInterface

Specifies network interfaces to use while establishing tcp connection.

On Linux the network interfaces is specified by its name, on Windows - by IP address.

Note
If the value is empty then HandlerSettings::networkInterfaceForTcpServices is used.

Definition at line 156 of file HandlerSettings.h.

◆ password

std::string password

Password.

Definition at line 147 of file HandlerSettings.h.

◆ username

std::string username

Username.

Definition at line 144 of file HandlerSettings.h.