xrootd
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends
XrdOucAppleBonjour Class Reference

#include <XrdOucAppleBonjour.hh>

Inheritance diagram for XrdOucAppleBonjour:
Inheritance graph
[legend]
Collaboration diagram for XrdOucAppleBonjour:
Collaboration graph
[legend]

List of all members.

Classes

class  XrdOucAppleBonjourSearchNode
class  XrdOucAppleBonjourSingletonCleanup

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

static XrdOucAppleBonjourgetInstance ()

Private Member Functions

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

Static Private Member Functions

static void RegisterReply (DNSServiceRef ref, DNSServiceFlags flags, DNSServiceErrorType error, const char *name, const char *regtype, const char *domain, void *context)
static void BrowseReply (DNSServiceRef ref, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType error, const char *name, const char *regtype, const char *domain, void *context)
static 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)
static void * BrowseEventLoopThread (void *context)

Private Attributes

std::list
< XrdOucBonjourRegisteredEntry * > 
ListOfRegistrations
pthread_t BrowseEventLoopThreadInfo

Static Private Attributes

static XrdOucAppleBonjour_Instance = NULL
static XrdSysMutex SingletonMutex

Friends

class XrdOucAppleBonjourSingletonCleanup

Constructor & Destructor Documentation

XrdOucAppleBonjour::XrdOucAppleBonjour ( ) [private]

Referenced by getInstance().

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]
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]
int XrdOucAppleBonjour::ResolveNodeInformation ( XrdOucBonjourResolutionEntry nodeAndCallback) [virtual]
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]

Friends And Related Function Documentation

friend class XrdOucAppleBonjourSingletonCleanup [friend]

Member Data Documentation

Referenced by RegisterReply(), and RegisterService().


The documentation for this class was generated from the following files: