23 #ifndef __PLUGINS_WEBVIEW_SERVICE_BROWSER_H_ 24 #define __PLUGINS_WEBVIEW_SERVICE_BROWSER_H_ 26 #include <netcomm/service_discovery/service.h> 27 #include <netcomm/service_discovery/browse_handler.h> 42 virtual void all_for_now();
43 virtual void cache_exhausted();
44 virtual void browse_failed(
const char *name,
47 virtual void service_added(
const char *name,
50 const char *host_name,
51 const char *interface,
52 const struct sockaddr *addr,
53 const socklen_t addr_size,
55 std::list<std::string> &txt,
57 virtual void service_removed(
const char *name,
64 typedef std::map<std::string, fawkes::NetworkService *>
ServiceList;
66 ServiceList & service_list();
71 ServiceList __service_list;
Fawkes library namespace.
Interface for class that process browse results.
Representation of a service announced or found via service discovery (i.e.
Browse handler to detect other Webview instances on the network.
std::map< std::string, fawkes::NetworkService * > ServiceList
A map of services.