OnixS C++ Tradeweb Approved Publication Arrangement (APA) Handler  1.2.2.18
API documentation
ServiceDescriptor Struct Reference

#include <HandlerSettings.h>

Collaboration diagram for ServiceDescriptor:

Public Member Functions

 ServiceDescriptor ()
 
 ServiceDescriptor (const std::string &a, unsigned p)
 
 ServiceDescriptor (const ServiceDescriptor &descriptor)
 
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 ( )
inline

Definition at line 42 of file HandlerSettings.h.

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

Definition at line 46 of file HandlerSettings.h.

ServiceDescriptor ( const ServiceDescriptor descriptor)
inline

Definition at line 50 of file HandlerSettings.h.

Member Function Documentation

bool operator!= ( const ServiceDescriptor other) const
inline

Compares with another instance.

Definition at line 67 of file HandlerSettings.h.

bool operator== ( const ServiceDescriptor other) const
inline

Compares with another instance.

Definition at line 61 of file HandlerSettings.h.

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

std::string address

Ip address.

Definition at line 55 of file HandlerSettings.h.

unsigned port

Port number.

Definition at line 58 of file HandlerSettings.h.


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