Servus
1.5.1
C++ network oriented utilities including a zeroconf implementation
|
The ZeroConf operation result code. More...
#include <servus.h>
Public Member Functions | |
Result (const int32_t code) | |
virtual | ~Result () |
Destruct the result. More... | |
std::string | getString () const override |
Public Member Functions inherited from servus::Result | |
Result (const int32_t code) | |
Construct a new result. More... | |
operator bool_t () const | |
bool | operator! () const |
bool | operator== (const int32_t code) const |
bool | operator!= (const int32_t code) const |
int32_t | getCode () const |
Static Public Attributes | |
static const int32_t | PENDING = -1 |
operation did not complete. More... | |
static const int32_t | NOT_SUPPORTED = -2 |
Servus compiled without ZeroConf support. More... | |
static const int32_t | POLL_ERROR = -3 |
Error during polling for event. More... | |
Static Public Attributes inherited from servus::Result | |
static const int32_t | SUCCESS = 0 |
Additional Inherited Members | |
Protected Attributes inherited from servus::Result | |
int32_t | code_ |
The ZeroConf operation result code.
The result code is either one of kDNSServiceErr_ or one of static constants defined by this class
|
inlinevirtual |
|
overridevirtual |
Reimplemented from servus::Result.
|
static |
|
static |
|
static |