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>

List of all members.

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.
const char * getType (void)
 Get the binding protocol description, usually "_svc._proto".
tpport_t getPort (void)
 Get the binding service port number.
zeroconf_family_t getFamily (void)

Static Public Member Functions

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

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@gnutelephony.org> Bayonne zerconf binding class.

Member Enumeration Documentation

Enumerator:
ZEROCONF_IPANY 
ZEROCONF_IPV6 
ZEROCONF_IPV4 


Constructor & Destructor Documentation

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


Member Function Documentation

static BayonneZeroconf* ost::BayonneZeroconf::getFirst ( void   )  [inline, static]

Get the first zeroconf binding, used by zeroconf plugins.

Returns:
first zeroconf binding.

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

Get the next zeroconf binding to iterate an object list.

Returns:
next zerconf binding.

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

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

Returns:
binding description.

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

Get the binding service port number.

If 0, then disabled.

Returns:
0 or port number.

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


Member Data Documentation

const char* ost::BayonneZeroconf::zeroconf_type [protected]


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

Generated on Wed Nov 5 15:36:21 2008 for Bayonne by  doxygen 1.5.6