#include <TBonjourBrowser.h>
Inheritance diagram for TBonjourBrowser:
Public Member Functions | |
TBonjourBrowser () | |
virtual | ~TBonjourBrowser () |
Int_t | BrowseForServiceType (const char *serviceType) |
TList * | CurrentRecords () 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 |
TFileHandler * | fBonjourSocketHandler |
TList * | fBonjourRecords |
TString | fBrowsingType |
Definition at line 59 of file TBonjourBrowser.h.
TBonjourBrowser::TBonjourBrowser | ( | ) |
TBonjourBrowser::~TBonjourBrowser | ( | ) | [virtual] |
Definition at line 56 of file TBonjourBrowser.cxx.
References fBonjourRecords, fBonjourSocketHandler, and fDNSRef.
void* TBonjourBrowser::GetSender | ( | ) | [inline, private, virtual] |
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] |
const char* TBonjourBrowser::ServiceType | ( | ) | const [inline] |
void TBonjourBrowser::CurrentBonjourRecordsChanged | ( | TList * | bonjourRecords | ) |
Definition at line 98 of file TBonjourBrowser.cxx.
References TQObject::Emit().
Referenced by BonjourBrowseReply().
void TBonjourBrowser::BonjourSocketReadyRead | ( | ) |
DNSServiceRef TBonjourBrowser::fDNSRef [private] |
Definition at line 62 of file TBonjourBrowser.h.
Referenced by BonjourSocketReadyRead(), BrowseForServiceType(), and ~TBonjourBrowser().
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] |