XrdOucBonjour Class Reference

#include <XrdOucBonjour.hh>

Inheritance diagram for XrdOucBonjour:

XrdOucAppleBonjour XrdOucAvahiBonjour List of all members.

Public Member Functions

 XrdOucBonjour ()
virtual ~XrdOucBonjour ()
virtual int RegisterService (XrdOucBonjourRecord &record, unsigned short port=0)=0
virtual int SubscribeForUpdates (const char *servicetype, XrdOucBonjourUpdateCallback callback, void *context)=0
virtual int ResolveNodeInformation (XrdOucBonjourResolutionEntry *nodeAndCallback)=0
const std::list< XrdOucBonjourNode * > & GetCurrentNodeList () const
void LockNodeList ()
void UnLockNodeList ()

Static Public Member Functions

static XrdOucBonjourgetInstance ()

Protected Attributes

std::list< XrdOucBonjourNode * > ListOfNodes
XrdSysMutex ListOfNodesMutex

Detailed Description

Definition at line 225 of file XrdOucBonjour.hh.


Constructor & Destructor Documentation

XrdOucBonjour::XrdOucBonjour (  )  [inline]

Definition at line 232 of file XrdOucBonjour.hh.

virtual XrdOucBonjour::~XrdOucBonjour (  )  [inline, virtual]

Definition at line 233 of file XrdOucBonjour.hh.


Member Function Documentation

virtual int XrdOucBonjour::RegisterService ( XrdOucBonjourRecord record,
unsigned short  port = 0 
) [pure virtual]

virtual int XrdOucBonjour::SubscribeForUpdates ( const char *  servicetype,
XrdOucBonjourUpdateCallback  callback,
void *  context 
) [pure virtual]

virtual int XrdOucBonjour::ResolveNodeInformation ( XrdOucBonjourResolutionEntry nodeAndCallback  )  [pure virtual]

const std::list<XrdOucBonjourNode *>& XrdOucBonjour::GetCurrentNodeList (  )  const [inline]

Definition at line 258 of file XrdOucBonjour.hh.

References ListOfNodes.

void XrdOucBonjour::LockNodeList (  )  [inline]

Definition at line 264 of file XrdOucBonjour.hh.

References ListOfNodesMutex, and XrdSysMutex::Lock().

Referenced by XrdOucAppleBonjour::BrowseReply(), XrdOucAvahiBonjour::BrowseReply(), XrdOucAvahiBonjour::ResolveReply(), and XrdOucAppleBonjour::ResolveReply().

void XrdOucBonjour::UnLockNodeList (  )  [inline]

Definition at line 267 of file XrdOucBonjour.hh.

References ListOfNodesMutex, and XrdSysMutex::UnLock().

Referenced by XrdOucAppleBonjour::BrowseReply(), XrdOucAvahiBonjour::BrowseReply(), XrdOucAvahiBonjour::ResolveReply(), and XrdOucAppleBonjour::ResolveReply().

static XrdOucBonjour& XrdOucBonjour::getInstance (  )  [static]


Member Data Documentation

std::list<XrdOucBonjourNode *> XrdOucBonjour::ListOfNodes [protected]

Definition at line 228 of file XrdOucBonjour.hh.

Referenced by XrdOucAppleBonjour::BrowseReply(), XrdOucAvahiBonjour::BrowseReply(), GetCurrentNodeList(), XrdOucAvahiBonjour::ResolveReply(), and XrdOucAppleBonjour::ResolveReply().

XrdSysMutex XrdOucBonjour::ListOfNodesMutex [protected]

Definition at line 229 of file XrdOucBonjour.hh.

Referenced by LockNodeList(), and UnLockNodeList().


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