TBonjourBrowser Class Reference

#include <TBonjourBrowser.h>

Inheritance diagram for TBonjourBrowser:

TObject TQObject List of all members.

Public Member Functions

 TBonjourBrowser ()
virtual ~TBonjourBrowser ()
Int_t BrowseForServiceType (const char *serviceType)
TListCurrentRecords () const
const char * ServiceType () const
void CurrentBonjourRecordsChanged (TList *bonjourRecords)
void BonjourSocketReadyRead ()

Private Member Functions

void * GetSender ()

Static Private Member Functions

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

Private Attributes

DNSServiceRef fDNSRef
TFileHandlerfBonjourSocketHandler
TListfBonjourRecords
TString fBrowsingType

Detailed Description

Definition at line 59 of file TBonjourBrowser.h.


Constructor & Destructor Documentation

TBonjourBrowser::TBonjourBrowser (  ) 

TBonjourBrowser::~TBonjourBrowser (  )  [virtual]

Definition at line 56 of file TBonjourBrowser.cxx.

References fBonjourRecords, fBonjourSocketHandler, and fDNSRef.


Member Function Documentation

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

Reimplemented from TQObject.

Definition at line 67 of file TBonjourBrowser.h.

void TBonjourBrowser::BonjourBrowseReply ( DNSServiceRef  ,
DNSServiceFlags  ,
UInt_t  ,
DNSServiceErrorType  ,
const char *  ,
const char *  ,
const char *  ,
void *   
) [static, private]

Definition at line 121 of file TBonjourBrowser.cxx.

References TList::Add(), CurrentBonjourRecordsChanged(), TObject::Error(), fBonjourRecords, TList::FindObject(), and TList::Remove().

Referenced by BrowseForServiceType().

Int_t TBonjourBrowser::BrowseForServiceType ( const char *  serviceType  ) 

Definition at line 70 of file TBonjourBrowser.cxx.

References TFileHandler::Add(), BonjourBrowseReply(), TQObject::Connect(), TObject::Error(), fBonjourSocketHandler, fDNSRef, and TFileHandler::kRead.

Referenced by hclientbonj().

TList* TBonjourBrowser::CurrentRecords (  )  const [inline]

Definition at line 84 of file TBonjourBrowser.h.

References fBonjourRecords.

const char* TBonjourBrowser::ServiceType (  )  const [inline]

Definition at line 85 of file TBonjourBrowser.h.

References fBrowsingType.

void TBonjourBrowser::CurrentBonjourRecordsChanged ( TList bonjourRecords  ) 

Definition at line 98 of file TBonjourBrowser.cxx.

References TQObject::Emit().

Referenced by BonjourBrowseReply().

void TBonjourBrowser::BonjourSocketReadyRead (  ) 

Definition at line 106 of file TBonjourBrowser.cxx.

References TObject::Error(), and fDNSRef.


Member Data Documentation

DNSServiceRef TBonjourBrowser::fDNSRef [private]

Definition at line 62 of file TBonjourBrowser.h.

Referenced by BonjourSocketReadyRead(), BrowseForServiceType(), and ~TBonjourBrowser().

TFileHandler* TBonjourBrowser::fBonjourSocketHandler [private]

Definition at line 63 of file TBonjourBrowser.h.

Referenced by BrowseForServiceType(), and ~TBonjourBrowser().

TList* TBonjourBrowser::fBonjourRecords [private]

Definition at line 64 of file TBonjourBrowser.h.

Referenced by BonjourBrowseReply(), CurrentRecords(), and ~TBonjourBrowser().

TString TBonjourBrowser::fBrowsingType [private]

Definition at line 65 of file TBonjourBrowser.h.

Referenced by ServiceType().


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