BonjourRegister Class Reference

#include <bonjourregister.h>

List of all members.

Public Member Functions

 BonjourRegister (QObject *parent=0)
 ~BonjourRegister ()
bool Register (uint16_t port, const QByteArray &type, const QByteArray &name, const QByteArray &txt)

Public Attributes

QByteArray m_name
QByteArray m_type

Private Slots

void socketReadyRead ()

Static Private Member Functions

static void DNSSD_API BonjourCallback (DNSServiceRef ref, DNSServiceFlags flags, DNSServiceErrorType errorcode, const char *name, const char *type, const char *domain, void *object)

Private Attributes

DNSServiceRef m_dnssref
QSocketNotifier * m_socket

Detailed Description

Definition at line 10 of file bonjourregister.h.


Constructor & Destructor Documentation

BonjourRegister::BonjourRegister ( QObject *  parent = 0  ) 

Definition at line 11 of file bonjourregister.cpp.

BonjourRegister::~BonjourRegister (  ) 

Definition at line 17 of file bonjourregister.cpp.


Member Function Documentation

bool BonjourRegister::Register ( uint16_t  port,
const QByteArray &  type,
const QByteArray &  name,
const QByteArray &  txt 
)
void BonjourRegister::socketReadyRead (  )  [private, slot]

Definition at line 73 of file bonjourregister.cpp.

Referenced by Register().

void BonjourRegister::BonjourCallback ( DNSServiceRef  ref,
DNSServiceFlags  flags,
DNSServiceErrorType  errorcode,
const char *  name,
const char *  type,
const char *  domain,
void *  object 
) [static, private]

Definition at line 81 of file bonjourregister.cpp.

Referenced by Register().


Member Data Documentation

Definition at line 20 of file bonjourregister.h.

Referenced by BonjourCallback(), and ~BonjourRegister().

Definition at line 21 of file bonjourregister.h.

Referenced by BonjourCallback(), and ~BonjourRegister().

DNSServiceRef BonjourRegister::m_dnssref [private]

Definition at line 32 of file bonjourregister.h.

Referenced by Register(), socketReadyRead(), and ~BonjourRegister().

QSocketNotifier* BonjourRegister::m_socket [private]

Definition at line 33 of file bonjourregister.h.

Referenced by Register(), and ~BonjourRegister().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Thu May 24 06:41:51 2012 for MythTV by  doxygen 1.6.3