OnixS C++ Euronext Optiq MDG Handler 1.3.3
API documentation
Loading...
Searching...
No Matches
ServiceDescriptor Struct Reference

Public Member Functions

 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 address
unsigned port

Detailed Description

Definition at line 40 of file HandlerSettings.h.

Constructor & Destructor Documentation

◆ ServiceDescriptor() [1/2]

ServiceDescriptor ( )
inline

Definition at line 43 of file HandlerSettings.h.

◆ ServiceDescriptor() [2/2]

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

Definition at line 48 of file HandlerSettings.h.

Member Function Documentation

◆ operator!=()

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

Compares with another instance.

Definition at line 66 of file HandlerSettings.h.

◆ operator==()

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

Compares with another instance.

Definition at line 60 of file HandlerSettings.h.

◆ valid()

bool valid ( ) const
inline

Returns true if the descriptor points to valid ip address.

Definition at line 72 of file HandlerSettings.h.

Member Data Documentation

◆ address

std::string address

Ip address.

Definition at line 54 of file HandlerSettings.h.

◆ port

unsigned port

Port number.

Definition at line 57 of file HandlerSettings.h.