#include <XrdOucBonjour.hh>
Inheritance diagram for XrdOucBonjour:

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 XrdOucBonjour & | getInstance () |
Protected Attributes | |
| std::list< XrdOucBonjourNode * > | ListOfNodes |
| XrdSysMutex | ListOfNodesMutex |
Definition at line 225 of file XrdOucBonjour.hh.
| XrdOucBonjour::XrdOucBonjour | ( | ) | [inline] |
Definition at line 232 of file XrdOucBonjour.hh.
| virtual XrdOucBonjour::~XrdOucBonjour | ( | ) | [inline, virtual] |
Definition at line 233 of file XrdOucBonjour.hh.
| 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] |
| 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] |
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().
1.5.1