this class provides support for zeroconf browsing
More...
#include <ZeroconfBrowser.h>
|
|
void | Start () |
| |
|
void | Stop () |
| |
|
std::vector< ZeroconfService > | GetFoundServices () |
| | returns the list of found services if this is updated, the following message with "zeroconf://" as path is sent: CGUIMessage message(GUI_MSG_NOTIFY_ALL, 0, 0, GUI_MSG_UPDATE_PATH);
|
| |
|
bool | ResolveService (ZeroconfService &fr_service, double f_timeout=1.0) |
| |
|
virtual void | ProcessResults () |
| |
|
|
static CZeroconfBrowser * | GetInstance () |
| |
|
static void | ReleaseInstance () |
| |
|
static bool | IsInstantiated () |
| |
| bool | AddServiceType (const std::string &fcr_service_type) |
| | methods for browsing and getting results of itadds a service type for browsing More...
|
| |
| bool | RemoveServiceType (const std::string &fcr_service_type) |
| | remove the specified service from discovery More...
|
| |
|
| CZeroconfBrowser (const CZeroconfBrowser &)=delete |
| |
|
CZeroconfBrowser & | operator= (const CZeroconfBrowser &)=delete |
| |
|
virtual bool | doAddServiceType (const std::string &fcr_service_type)=0 |
| |
|
virtual bool | doRemoveServiceType (const std::string &fcr_service_type)=0 |
| |
|
virtual std::vector< ZeroconfService > | doGetFoundServices ()=0 |
| |
|
virtual bool | doResolveService (ZeroconfService &fr_service, double f_timeout)=0 |
| |
this class provides support for zeroconf browsing
◆ AddServiceType()
| bool CZeroconfBrowser::AddServiceType |
( |
const std::string & |
fcr_service_type | ) |
|
methods for browsing and getting results of itadds a service type for browsing
- Parameters
-
| fcr_service_type | the service type as string, e.g. _smb._tcp. |
- Returns
- false if it was already there
◆ RemoveServiceType()
| bool CZeroconfBrowser::RemoveServiceType |
( |
const std::string & |
fcr_service_type | ) |
|
remove the specified service from discovery
- Parameters
-
| fcr_service_type | the service type as string, e.g. _smb._tcp. |
- Returns
- if it was not found
The documentation for this class was generated from the following files: