LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
sd::WINNetworkService Class Reference

#include <WINNetworkService.hxx>

Inheritance diagram for sd::WINNetworkService:
[legend]
Collaboration diagram for sd::WINNetworkService:
[legend]

Public Member Functions

 WINNetworkService (const std::string &aname="", unsigned int aport=1599)
 
void clear () override
 
void setup () override
 
- Public Member Functions inherited from sd::ZeroconfService
 ZeroconfService (std::string aname, uint aport)
 
virtual ~ZeroconfService ()
 
const std::string & getName () const
 
void setName (const char *n)
 
virtual void clear ()=0
 
virtual void setup ()=0
 

Private Attributes

DNSServiceRef client
 

Additional Inherited Members

- Protected Attributes inherited from sd::ZeroconfService
std::string name
 
uint port
 

Detailed Description

Definition at line 10 of file WINNetworkService.hxx.

Constructor & Destructor Documentation

◆ WINNetworkService()

sd::WINNetworkService::WINNetworkService ( const std::string &  aname = "",
unsigned int  aport = 1599 
)
inline

Definition at line 16 of file WINNetworkService.hxx.

Member Function Documentation

◆ clear()

void sd::WINNetworkService::clear ( )
overridevirtual

Implements sd::ZeroconfService.

Definition at line 16 of file WINNetworkService.cxx.

References client.

◆ setup()

void sd::WINNetworkService::setup ( )
overridevirtual

Implements sd::ZeroconfService.

Definition at line 6 of file WINNetworkService.cxx.

References client, err, kREG_TYPE, and SAL_WARN.

Member Data Documentation

◆ client

DNSServiceRef sd::WINNetworkService::client
private

Definition at line 13 of file WINNetworkService.hxx.

Referenced by setup().


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