service_discovery
ServiceEvent.hpp
Go to the documentation of this file.
1 #ifndef __SERVICEDISCOVERY_SERVICEEVENT_H_
2 #define __SERVICEDISCOVERY_SERVICEEVENT_H_
3 
4 #include <service_discovery/impl/avahi/RemoteService.hpp>
5 
6 namespace servicediscovery {
7 namespace avahi {
8 
14 {
15  ServiceConfiguration serviceConfiguration_;
16 
17  public:
22  ServiceEvent(const RemoteService& service);
23 
28  ServiceEvent(const ServiceConfiguration& config);
29 
30  virtual ~ServiceEvent();
31 
36 
37  bool operator==(const ServiceEvent&) const;
38 
39 };
40 
41 } // end namespace avahi
42 } // end namespace servicediscovery
43 #endif // __SERVICEDISCOVERY_SERVICEEVENT_H_
ServiceEvent(const RemoteService &service)
Definition: ServiceEvent.cpp:6
class for handling service that are found and resolved by the service browsers
Definition: RemoteService.hpp:31
Definition: Client.cpp:7
virtual ~ServiceEvent()
Definition: ServiceEvent.cpp:16
Description and parameterization of a service.
Definition: ServiceConfiguration.hpp:21
bool operator==(const ServiceEvent &) const
Definition: ServiceEvent.cpp:25
Event associated with appearance or disappearance of a service.
Definition: ServiceEvent.hpp:13
const ServiceConfiguration & getServiceConfiguration() const
Definition: ServiceEvent.cpp:20