|
service_discovery
|
class for handling service that are found and resolved by the service browsers More...
#include <RemoteService.hpp>
Public Member Functions | |
| RemoteService (ServiceBrowser *browser, AvahiIfIndex interf, AvahiProtocol prot, std::string name, std::string type, std::string domain, std::list< std::string > list, uint16_t port, std::string host_name, AvahiAddress address, AvahiServiceResolver *sr) | |
| virtual | ~RemoteService () |
| AvahiAddress | getAddress () const |
| ServiceBrowser * | getBrowser () const |
| std::string | getHostName () const |
| AvahiServiceResolver * | getServiceResolver () |
| void | freeServiceResolver () |
| std::string | getAddressString () |
| bool | operator== (RemoteService serv) |
Public Member Functions inherited from servicediscovery::avahi::Service | |
| Service (const Service &) | |
| Service (Client *client, AvahiIfIndex interf, AvahiProtocol prot, std::string name, std::string type, std::string domain, uint16_t port=0, std::list< std::string > list=std::list< std::string >()) | |
| virtual | ~Service () |
| bool | operator== (const Service &) |
| uint16_t | getPort () const |
| AvahiStringList * | getTxt () const |
| std::list< std::string > | getStringList () const |
| std::string | getName () const |
| void | setConfiguration (const ServiceConfiguration &config) |
| ServiceConfiguration | getConfiguration () const |
| Client * | getClient () |
Public Attributes | |
| ResolveData * | resolveData |
Public Attributes inherited from servicediscovery::avahi::Service | |
| bool | dontCheckTXT |
Protected Attributes | |
| ServiceBrowser * | browser |
| std::string | host_name |
| AvahiAddress | address |
| AvahiServiceResolver * | sr |
Protected Attributes inherited from servicediscovery::avahi::Service | |
| uint16_t | port |
| AvahiStringList * | txt |
| std::list< std::string > | stringlist |
| Client * | client_ |
| ServiceConfiguration | configuration_ |
Additional Inherited Members | |
Protected Member Functions inherited from servicediscovery::avahi::Service | |
| void | setTxt (AvahiStringList *ntxt) |
| void | setStringList (std::list< std::string > list) |
| void | addDescriptionsToConfiguration (const std::list< std::string > &strlist) |
Static Protected Member Functions inherited from servicediscovery::avahi::Service | |
| static AvahiStringList * | getTxt (std::list< std::string >) |
class for handling service that are found and resolved by the service browsers
| servicediscovery::avahi::RemoteService::RemoteService | ( | ServiceBrowser * | browser, |
| AvahiIfIndex | interf, | ||
| AvahiProtocol | prot, | ||
| std::string | name, | ||
| std::string | type, | ||
| std::string | domain, | ||
| std::list< std::string > | list, | ||
| uint16_t | port, | ||
| std::string | host_name, | ||
| AvahiAddress | address, | ||
| AvahiServiceResolver * | sr | ||
| ) |
|
virtual |
| void servicediscovery::avahi::RemoteService::freeServiceResolver | ( | ) |
Free the associated service resolver and resolver data
|
inline |
| std::string servicediscovery::avahi::RemoteService::getAddressString | ( | ) |
|
inline |
|
inline |
|
inline |
| bool servicediscovery::avahi::RemoteService::operator== | ( | RemoteService | serv | ) |
|
protected |
address of the remote machine where the service is present
|
protected |
a service browser instance connected to this remote service
|
protected |
host name of the remote machine where the service is present
| ResolveData* servicediscovery::avahi::RemoteService::resolveData |
|
protected |
avahi service resolver object
1.8.11