OnixS C++ eSpeed ITCH Market Data Handler 1.7.3
API documentation
Loading...
Searching...
No Matches
ServiceDescriptor Struct Reference

Public Member Functions

 ServiceDescriptor ()
 ServiceDescriptor (const std::string &a, unsigned p)
bool operator== (const ServiceDescriptor &other) const
bool operator!= (const ServiceDescriptor &other) const
bool valid () const

Public Attributes

std::string address
unsigned port

Detailed Description

Definition at line 35 of file HandlerSettings.h.

Constructor & Destructor Documentation

◆ ServiceDescriptor() [1/2]

ServiceDescriptor ( )
inline

Definition at line 37 of file HandlerSettings.h.

◆ ServiceDescriptor() [2/2]

ServiceDescriptor ( const std::string & a,
unsigned p )
inline

Definition at line 41 of file HandlerSettings.h.

Member Function Documentation

◆ operator!=()

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

Compares with another instance.

Definition at line 58 of file HandlerSettings.h.

◆ operator==()

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

Compares with another instance.

Definition at line 52 of file HandlerSettings.h.

◆ valid()

bool valid ( ) const
inline

Returns true if the descriptor points to valid ip address.

Definition at line 64 of file HandlerSettings.h.

Member Data Documentation

◆ address

std::string address

Ip address.

Definition at line 46 of file HandlerSettings.h.

◆ port

unsigned port

Port number.

Definition at line 49 of file HandlerSettings.h.