LibreOffice Module sd (master) 1
Public Member Functions | Protected Attributes | List of all members
sd::ZeroconfService Class Referenceabstract

#include <ZeroconfService.hxx>

Inheritance diagram for sd::ZeroconfService:
[legend]

Public Member Functions

 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
 

Protected Attributes

std::string name
 
uint port
 

Detailed Description

Definition at line 29 of file ZeroconfService.hxx.

Constructor & Destructor Documentation

◆ ZeroconfService()

sd::ZeroconfService::ZeroconfService ( std::string  aname,
uint  aport 
)
inlineexplicit

Definition at line 36 of file ZeroconfService.hxx.

◆ ~ZeroconfService()

virtual sd::ZeroconfService::~ZeroconfService ( )
inlinevirtual

Definition at line 38 of file ZeroconfService.hxx.

Member Function Documentation

◆ clear()

virtual void sd::ZeroconfService::clear ( )
pure virtual

◆ getName()

const std::string & sd::ZeroconfService::getName ( ) const
inline

Definition at line 40 of file ZeroconfService.hxx.

References name.

Referenced by create_services(), entry_group_callback(), and sd::AvahiNetworkService::setup().

◆ setName()

void sd::ZeroconfService::setName ( const char *  n)
inline

Definition at line 41 of file ZeroconfService.hxx.

References n, and name.

Referenced by create_services(), and entry_group_callback().

◆ setup()

virtual void sd::ZeroconfService::setup ( )
pure virtual

Member Data Documentation

◆ name

std::string sd::ZeroconfService::name
protected

Definition at line 32 of file ZeroconfService.hxx.

Referenced by getName(), and setName().

◆ port

uint sd::ZeroconfService::port
protected

Definition at line 33 of file ZeroconfService.hxx.


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