Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdOucAppleBonjour Class Reference

#include <XrdOucAppleBonjour.hh>

Inheritance diagram for XrdOucAppleBonjour:

Inheritance graph
[legend]
Collaboration diagram for XrdOucAppleBonjour:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int RegisterService (XrdOucBonjourRecord &record, unsigned short port=0)
int SubscribeForUpdates (const char *servicetype, XrdOucBonjourUpdateCallback callback, void *context)
int ResolveNodeInformation (XrdOucBonjourResolutionEntry *nodeAndCallback)

Static Public Member Functions

XrdOucAppleBonjourgetInstance ()

Private Member Functions

 XrdOucAppleBonjour ()
virtual ~XrdOucAppleBonjour ()
 XrdOucAppleBonjour (const XrdOucAppleBonjour &)
XrdOucAppleBonjouroperator= (const XrdOucAppleBonjour &)

Static Private Member Functions

void RegisterReply (DNSServiceRef ref, DNSServiceFlags flags, DNSServiceErrorType error, const char *name, const char *regtype, const char *domain, void *context)
void BrowseReply (DNSServiceRef ref, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType error, const char *name, const char *regtype, const char *domain, void *context)
void ResolveReply (DNSServiceRef ref, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType error, const char *fullname, const char *hostname, uint16_t port, uint16_t txtLen, const unsigned char *txtVal, void *context)
void * BrowseEventLoopThread (void *context)

Private Attributes

std::list< XrdOucBonjourRegisteredEntry * > ListOfRegistrations
pthread_t BrowseEventLoopThreadInfo

Static Private Attributes

XrdOucAppleBonjour_Instance = NULL
XrdSysMutex SingletonMutex

Friends

class XrdOucAppleBonjourSingletonCleanup

Constructor & Destructor Documentation

XrdOucAppleBonjour::XrdOucAppleBonjour  )  [private]
 

XrdOucAppleBonjour::~XrdOucAppleBonjour  )  [private, virtual]
 

XrdOucAppleBonjour::XrdOucAppleBonjour const XrdOucAppleBonjour  )  [inline, private]
 


Member Function Documentation

void * XrdOucAppleBonjour::BrowseEventLoopThread void *  context  )  [static, private]
 

void XrdOucAppleBonjour::BrowseReply DNSServiceRef  ref,
DNSServiceFlags  flags,
uint32_t  interfaceIndex,
DNSServiceErrorType  error,
const char *  name,
const char *  regtype,
const char *  domain,
void *  context
[static, private]
 

XrdOucAppleBonjour & XrdOucAppleBonjour::getInstance  )  [static]
 

Reimplemented from XrdOucBonjour.

XrdOucAppleBonjour& XrdOucAppleBonjour::operator= const XrdOucAppleBonjour  )  [inline, private]
 

void XrdOucAppleBonjour::RegisterReply DNSServiceRef  ref,
DNSServiceFlags  flags,
DNSServiceErrorType  error,
const char *  name,
const char *  regtype,
const char *  domain,
void *  context
[static, private]
 

int XrdOucAppleBonjour::RegisterService XrdOucBonjourRecord record,
unsigned short  port = 0
[virtual]
 

Implements XrdOucBonjour.

int XrdOucAppleBonjour::ResolveNodeInformation XrdOucBonjourResolutionEntry nodeAndCallback  )  [virtual]
 

Implements XrdOucBonjour.

void XrdOucAppleBonjour::ResolveReply DNSServiceRef  ref,
DNSServiceFlags  flags,
uint32_t  interfaceIndex,
DNSServiceErrorType  error,
const char *  fullname,
const char *  hostname,
uint16_t  port,
uint16_t  txtLen,
const unsigned char *  txtVal,
void *  context
[static, private]
 

int XrdOucAppleBonjour::SubscribeForUpdates const char *  servicetype,
XrdOucBonjourUpdateCallback  callback,
void *  context
[virtual]
 

Implements XrdOucBonjour.


Friends And Related Function Documentation

friend class XrdOucAppleBonjourSingletonCleanup [friend]
 


Member Data Documentation

XrdOucAppleBonjour * XrdOucAppleBonjour::_Instance = NULL [static, private]
 

pthread_t XrdOucAppleBonjour::BrowseEventLoopThreadInfo [private]
 

std::list<XrdOucBonjourRegisteredEntry *> XrdOucAppleBonjour::ListOfRegistrations [private]
 

XrdSysMutex XrdOucAppleBonjour::SingletonMutex [static, private]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:42:21 2011 for xrootd by  doxygen 1.3.9.1