OnixS C++ Euronext Optiq MDG Handler 1.5.0
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 41 of file HandlerSettings.h.

Constructor & Destructor Documentation

◆ ServiceDescriptor() [1/2]

ServiceDescriptor ( )
inline

Definition at line 44 of file HandlerSettings.h.

◆ ServiceDescriptor() [2/2]

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

Definition at line 49 of file HandlerSettings.h.

Member Function Documentation

◆ operator!=()

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

Compares with another instance.

Definition at line 67 of file HandlerSettings.h.

◆ operator==()

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

Compares with another instance.

Definition at line 61 of file HandlerSettings.h.

◆ valid()

bool valid ( ) const
inline

Returns true if the descriptor points to valid ip address.

Definition at line 73 of file HandlerSettings.h.

Member Data Documentation

◆ address

std::string address

Ip address.

Definition at line 55 of file HandlerSettings.h.

◆ port

unsigned port

Port number.

Definition at line 58 of file HandlerSettings.h.