OnixS C++ Fenics UST BIMP Market Data Handler  1.1.0
API documentation
TcpServiceDescriptor Struct Reference

#include <OnixS/FenicsUST/MarketData/Bimp/HandlerSettings.h>

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

Definition at line 108 of file HandlerSettings.h.

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

bool operator!= ( const TcpServiceDescriptor other) const
inline

Compares with another instance.

Definition at line 138 of file HandlerSettings.h.

bool operator== ( const TcpServiceDescriptor other) const
inline

Compares with another instance.

Definition at line 130 of file HandlerSettings.h.

bool valid ( ) const
inline

Returns true if the descriptor is valid.

Definition at line 121 of file HandlerSettings.h.

Member Data Documentation

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.

std::string password

Password.

Definition at line 147 of file HandlerSettings.h.

std::string username

Username.

Definition at line 144 of file HandlerSettings.h.


The documentation for this struct was generated from the following file: