Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
ost::BayonneZeroconf Class Reference

This class is used to bind services that are to be published with zeroconf, such as by the avahi module. More...

#include <bayonne.h>

Collaboration diagram for ost::BayonneZeroconf:
Collaboration graph
[legend]

Public Types

enum  zeroconf_family_t { ZEROCONF_IPANY, ZEROCONF_IPV6, ZEROCONF_IPV4 }
 

Public Member Functions

BayonneZeroconfgetNext (void)
 Get the next zeroconf binding to iterate an object list. More...
 
const char * getType (void)
 Get the binding protocol description, usually "_svc._proto". More...
 
tpport_t getPort (void)
 Get the binding service port number. More...
 
zeroconf_family_t getFamily (void)
 

Static Public Member Functions

static BayonneZeroconfgetFirst (void)
 Get the first zeroconf binding, used by zeroconf plugins. More...
 

Protected Member Functions

 BayonneZeroconf (const char *type, zeroconf_family_t family=ZEROCONF_IPANY)
 

Protected Attributes

BayonneZeroconfzeroconf_next
 
const char * zeroconf_type
 
tpport_t zeroconf_port
 
zeroconf_family_t zeroconf_family
 

Static Protected Attributes

static BayonneZeroconfzeroconf_first
 

Detailed Description

This class is used to bind services that are to be published with zeroconf, such as by the avahi module.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org Bayonne zerconf binding class.

Definition at line 1305 of file bayonne.h.

Member Enumeration Documentation

Enumerator
ZEROCONF_IPANY 
ZEROCONF_IPV6 
ZEROCONF_IPV4 

Definition at line 1314 of file bayonne.h.

Constructor & Destructor Documentation

ost::BayonneZeroconf::BayonneZeroconf ( const char *  type,
zeroconf_family_t  family = ZEROCONF_IPANY 
)
protected

Member Function Documentation

zeroconf_family_t ost::BayonneZeroconf::getFamily ( void  )
inline

Definition at line 1359 of file bayonne.h.

static BayonneZeroconf* ost::BayonneZeroconf::getFirst ( void  )
inlinestatic

Get the first zeroconf binding, used by zeroconf plugins.

Returns
first zeroconf binding.

Definition at line 1332 of file bayonne.h.

BayonneZeroconf* ost::BayonneZeroconf::getNext ( void  )
inline

Get the next zeroconf binding to iterate an object list.

Returns
next zerconf binding.

Definition at line 1340 of file bayonne.h.

tpport_t ost::BayonneZeroconf::getPort ( void  )
inline

Get the binding service port number.

If 0, then disabled.

Returns
0 or port number.

Definition at line 1356 of file bayonne.h.

const char* ost::BayonneZeroconf::getType ( void  )
inline

Get the binding protocol description, usually "_svc._proto".

Returns
binding description.

Definition at line 1348 of file bayonne.h.

Field Documentation

zeroconf_family_t ost::BayonneZeroconf::zeroconf_family
protected

Definition at line 1322 of file bayonne.h.

BayonneZeroconf* ost::BayonneZeroconf::zeroconf_first
staticprotected

Definition at line 1308 of file bayonne.h.

BayonneZeroconf* ost::BayonneZeroconf::zeroconf_next
protected

Definition at line 1309 of file bayonne.h.

tpport_t ost::BayonneZeroconf::zeroconf_port
protected

Definition at line 1311 of file bayonne.h.

const char* ost::BayonneZeroconf::zeroconf_type
protected

Definition at line 1310 of file bayonne.h.


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