Poco::Zeroconf

class Utility

Library: Zeroconf
Package: ZeroCore
Header: Poco/Zeroconf/Utility.h

Description

class Utility offers static helper functions

Member Summary

Member Functions: createTxtRecord, parseTxtRecord, toString

Constructors

Destructor

~Utility protected

~Utility();

Member Functions

createTxtRecord static

static std::string createTxtRecord(
    const Properties & properties
);

Converts Properties to a txtrecord field

parseTxtRecord static

static Properties parseTxtRecord(
    const std::string & txtRecord
);

Parses a txtRecord and extracts all properties from the string

toString static

static const std::string & toString(
    Poco::Int32 errorCode
);

Converts an error code to a string