TBonjourRegistrar Class Reference

#include <TBonjourRegistrar.h>

Inheritance diagram for TBonjourRegistrar:

TObject TQObject List of all members.

Public Member Functions

 TBonjourRegistrar ()
virtual ~TBonjourRegistrar ()
Int_t RegisterService (const TBonjourRecord &record, UShort_t servicePort)
TBonjourRecord RegisteredRecord () const
void ServiceRegistered (TBonjourRecord *record)
void BonjourSocketReadyRead ()

Private Member Functions

void * GetSender ()

Static Private Member Functions

static void DNSSD_API BonjourRegisterService (DNSServiceRef, DNSServiceFlags, DNSServiceErrorType, const char *, const char *, const char *, void *)

Private Attributes

DNSServiceRef fDNSRef
TFileHandlerfBonjourSocketHandler
TBonjourRecord fFinalRecord

Detailed Description

Definition at line 58 of file TBonjourRegistrar.h.


Constructor & Destructor Documentation

TBonjourRegistrar::TBonjourRegistrar (  ) 

TBonjourRegistrar::~TBonjourRegistrar (  )  [virtual]

Definition at line 53 of file TBonjourRegistrar.cxx.

References fBonjourSocketHandler, and fDNSRef.


Member Function Documentation

void* TBonjourRegistrar::GetSender (  )  [inline, private, virtual]

Reimplemented from TQObject.

Definition at line 65 of file TBonjourRegistrar.h.

void TBonjourRegistrar::BonjourRegisterService ( DNSServiceRef  ,
DNSServiceFlags  ,
DNSServiceErrorType  ,
const char *  ,
const char *  ,
const char *  ,
void *   
) [static, private]

Definition at line 130 of file TBonjourRegistrar.cxx.

References TObject::Error(), fFinalRecord, and ServiceRegistered().

Referenced by RegisterService().

Int_t TBonjourRegistrar::RegisterService ( const TBonjourRecord record,
UShort_t  servicePort 
)

Definition at line 66 of file TBonjourRegistrar.cxx.

References TFileHandler::Add(), BonjourRegisterService(), TQObject::Connect(), TObject::Error(), fBonjourSocketHandler, fDNSRef, TBonjourRecord::GetRegisteredType(), TBonjourRecord::GetReplyDomain(), TBonjourRecord::GetServiceName(), TBonjourRecord::GetTXTRecords(), TBonjourRecord::GetTXTRecordsLength(), TFileHandler::kRead, and TObject::Warning().

TBonjourRecord TBonjourRegistrar::RegisteredRecord (  )  const [inline]

Definition at line 80 of file TBonjourRegistrar.h.

References fFinalRecord.

void TBonjourRegistrar::ServiceRegistered ( TBonjourRecord record  ) 

Definition at line 110 of file TBonjourRegistrar.cxx.

References TQObject::Emit().

Referenced by BonjourRegisterService().

void TBonjourRegistrar::BonjourSocketReadyRead (  ) 

Definition at line 118 of file TBonjourRegistrar.cxx.

References TObject::Error(), and fDNSRef.


Member Data Documentation

DNSServiceRef TBonjourRegistrar::fDNSRef [private]

Definition at line 61 of file TBonjourRegistrar.h.

Referenced by BonjourSocketReadyRead(), RegisterService(), and ~TBonjourRegistrar().

TFileHandler* TBonjourRegistrar::fBonjourSocketHandler [private]

Definition at line 62 of file TBonjourRegistrar.h.

Referenced by RegisterService(), and ~TBonjourRegistrar().

TBonjourRecord TBonjourRegistrar::fFinalRecord [private]

Definition at line 63 of file TBonjourRegistrar.h.

Referenced by BonjourRegisterService(), and RegisteredRecord().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:51 2011 for ROOT_528-00b_version by  doxygen 1.5.1