hwsd  2.0.0
Local and remote ZeroConf service discovery for hardware resources
hwsd::net::dns_sd::Module Class Reference

The DNS_SD implementation for remote network interface discovery. More...

#include <module.h>

+ Inheritance diagram for hwsd::net::dns_sd::Module:
+ Collaboration diagram for hwsd::net::dns_sd::Module:

Static Public Member Functions

static void use ()
 Instantiate the dns_sd discovery module for the process. More...
 
static void dispose ()
 Unload the dns_sd discovery module for the process. More...
 

Protected Member Functions

virtual bool announce (const std::string &session) const
 Announce the information about all found resources. More...
 
virtual NetInfos discover () const
 

Additional Inherited Members

- Public Member Functions inherited from hwsd::Module< NetInfos >
 Module ()
 Register and construct a new module. More...
 
- Public Attributes inherited from hwsd::Module< NetInfos >
Module< NetInfos > * next_
 
- Static Public Attributes inherited from hwsd::Module< NetInfos >
static HWSD_INL Module< NetInfos > * stack_
 

Detailed Description

The DNS_SD implementation for remote network interface discovery.

Definition at line 37 of file net/dns_sd/module.h.

Member Function Documentation

virtual bool hwsd::net::dns_sd::Module::announce ( const std::string &  session) const
protectedvirtual

Announce the information about all found resources.

The default announcement goes to std::cout.

Returns
true if announcement was successful
Version
1.0

Reimplemented from hwsd::Module< NetInfos >.

virtual NetInfos hwsd::net::dns_sd::Module::discover ( ) const
protectedvirtual
Returns
information about all found resources.
Version
1.0

Implements hwsd::Module< NetInfos >.

static void hwsd::net::dns_sd::Module::dispose ( )
static

Unload the dns_sd discovery module for the process.

static void hwsd::net::dns_sd::Module::use ( )
static

Instantiate the dns_sd discovery module for the process.


The documentation for this class was generated from the following file: