28 namespace detail {
class Zeroconf; }
56 CO_API Zeroconf&
operator = (
const Zeroconf& rhs );
67 CO_API
void set(
const std::string& key,
const std::string& value );
73 CO_API Strings
getKeys(
const std::string& instance )
const;
76 CO_API
bool containsKey(
const std::string& instance,
77 const std::string& key )
const;
80 CO_API
const std::string&
get(
const std::string& instance,
81 const std::string& key )
const;
84 explicit Zeroconf( lunchbox::Servus& service );
87 detail::Zeroconf* _impl;
90 #endif // CO_ZEROCONF_H
Defines export visibility macros for library Collage.
CO_API Strings getKeys(const std::string &instance) const
CO_API bool containsKey(const std::string &instance, const std::string &key) const
Object-oriented network library.
CO_API Strings getInstances() const
Node specialization for a local node.
CO_API ~Zeroconf()
Destruct this zeroconf communicator.
CO_API void set(const std::string &key, const std::string &value)
Set a key/value pair to be announced.
CO_API Zeroconf & operator=(const Zeroconf &rhs)
Assign the data from another zeroconf communicator.