|
xrootd
|
#include <XrdOucBonjour.hh>

Public Member Functions | |
| XrdOucBonjourRecord () | |
| XrdOucBonjourRecord (const char *name, const char *type, const char *domain) | |
| XrdOucBonjourRecord (const XrdOucBonjourRecord &other) | |
| virtual | ~XrdOucBonjourRecord () |
| const char * | GetServiceName () const |
| const char * | GetRegisteredType () const |
| const char * | GetReplyDomain () const |
| const char * | GetTXTRecordData () const |
| const char * | GetTXTValue (const char *key, int &len) const |
| int | GetTXTRecordLength () const |
| int | MatchesServiceName (const char *pattern) const |
| int | MatchesRegisteredType (const char *pattern) const |
| int | MatchesReplyDomain (const char *pattern) const |
| void | AddTXTRecord (const char *key, const char *value) |
| void | AddTXTRecord (const char *key, int value) |
| void | AddRawTXTRecord (const char *rawData) |
| void | SetServiceName (const char *name) |
| void | SetRegisteredType (const char *type) |
| void | SetReplyDomain (const char *domain) |
| void | DeleteTXTRecord () |
| XrdOucBonjourRecord & | operator= (const XrdOucBonjourRecord &other) |
| void | Print () const |
Private Member Functions | |
| void | InitTXTRecord () |
| void | CopyTXTRecord (const TXTRecordRef &otherRecord) |
Private Attributes | |
| XrdOucString | ServiceName |
| XrdOucString | RegisteredType |
| XrdOucString | ReplyDomain |
| TXTRecordRef | TXTRecord |
| XrdOucBonjourRecord::XrdOucBonjourRecord | ( | ) | [inline] |
References InitTXTRecord().
| XrdOucBonjourRecord::XrdOucBonjourRecord | ( | const char * | name, |
| const char * | type, | ||
| const char * | domain | ||
| ) | [inline] |
References InitTXTRecord().
| XrdOucBonjourRecord::XrdOucBonjourRecord | ( | const XrdOucBonjourRecord & | other | ) | [inline] |
References CopyTXTRecord(), InitTXTRecord(), and TXTRecord.
| virtual XrdOucBonjourRecord::~XrdOucBonjourRecord | ( | ) | [inline, virtual] |
References TXTRecord.
| void XrdOucBonjourRecord::AddRawTXTRecord | ( | const char * | rawData | ) |
References InitTXTRecord(), and TXTRecord.
Referenced by XrdOucAppleBonjour::ResolveReply().
| void XrdOucBonjourRecord::AddTXTRecord | ( | const char * | key, |
| const char * | value | ||
| ) |
References TXTRecord.
Referenced by AddTXTRecord(), and XrdOucAvahiBonjour::ResolveReply().
| void XrdOucBonjourRecord::AddTXTRecord | ( | const char * | key, |
| int | value | ||
| ) |
References AddTXTRecord(), and snprintf.
| void XrdOucBonjourRecord::CopyTXTRecord | ( | const TXTRecordRef & | otherRecord | ) | [private] |
References TXTRecord.
Referenced by operator=(), and XrdOucBonjourRecord().
| void XrdOucBonjourRecord::DeleteTXTRecord | ( | ) |
References InitTXTRecord(), and TXTRecord.
| const char* XrdOucBonjourRecord::GetRegisteredType | ( | ) | const [inline] |
| const char* XrdOucBonjourRecord::GetReplyDomain | ( | ) | const [inline] |
References XrdOucString::c_str(), XrdOucString::length(), and ReplyDomain.
Referenced by Print(), XrdOucAvahiBonjour::RegisterEntries(), XrdOucAppleBonjour::RegisterService(), and XrdOucAppleBonjour::ResolveNodeInformation().
| const char* XrdOucBonjourRecord::GetServiceName | ( | ) | const [inline] |
References XrdOucString::c_str(), XrdOucString::length(), and ServiceName.
Referenced by XrdOucAvahiBonjour::EntryGroupReply(), XrdOucAvahiBonjour::XrdOucAvahiBonjourSearchNode::operator()(), XrdOucAppleBonjour::XrdOucAppleBonjourSearchNode::operator()(), Print(), XrdOucAvahiBonjour::RegisterEntries(), XrdOucAppleBonjour::RegisterService(), and XrdOucAppleBonjour::ResolveNodeInformation().
| const char* XrdOucBonjourRecord::GetTXTRecordData | ( | ) | const [inline] |
References TXTRecord.
Referenced by Print(), and XrdOucAppleBonjour::RegisterService().
| int XrdOucBonjourRecord::GetTXTRecordLength | ( | ) | const [inline] |
References TXTRecord.
Referenced by XrdOucAppleBonjour::RegisterService().
| const char * XrdOucBonjourRecord::GetTXTValue | ( | const char * | key, |
| int & | len | ||
| ) | const |
References TXTRecord.
| void XrdOucBonjourRecord::InitTXTRecord | ( | ) | [private] |
References TXTRecord.
Referenced by AddRawTXTRecord(), DeleteTXTRecord(), operator=(), and XrdOucBonjourRecord().
| int XrdOucBonjourRecord::MatchesRegisteredType | ( | const char * | pattern | ) | const [inline] |
References RegisteredType.
| int XrdOucBonjourRecord::MatchesReplyDomain | ( | const char * | pattern | ) | const [inline] |
References ReplyDomain.
| int XrdOucBonjourRecord::MatchesServiceName | ( | const char * | pattern | ) | const [inline] |
References ServiceName.
| XrdOucBonjourRecord & XrdOucBonjourRecord::operator= | ( | const XrdOucBonjourRecord & | other | ) |
References XrdOucString::assign(), CopyTXTRecord(), InitTXTRecord(), RegisteredType, ReplyDomain, ServiceName, and TXTRecord.
| void XrdOucBonjourRecord::Print | ( | ) | const |
References GetRegisteredType(), GetReplyDomain(), GetServiceName(), GetTXTRecordData(), and XrdSysError::Say().
Referenced by XrdOucBonjourNode::Print().
| void XrdOucBonjourRecord::SetRegisteredType | ( | const char * | type | ) |
References XrdOucString::assign(), and RegisteredType.
Referenced by XrdOucAppleBonjour::RegisterReply().
| void XrdOucBonjourRecord::SetReplyDomain | ( | const char * | domain | ) |
References XrdOucString::assign(), and ReplyDomain.
Referenced by XrdOucAppleBonjour::RegisterReply().
| void XrdOucBonjourRecord::SetServiceName | ( | const char * | name | ) |
References XrdOucString::assign(), and ServiceName.
Referenced by XrdOucAvahiBonjour::EntryGroupReply(), XrdOucAvahiBonjour::RegisterEntries(), and XrdOucAppleBonjour::RegisterReply().
Referenced by GetRegisteredType(), MatchesRegisteredType(), operator=(), and SetRegisteredType().
XrdOucString XrdOucBonjourRecord::ReplyDomain [private] |
Referenced by GetReplyDomain(), MatchesReplyDomain(), operator=(), and SetReplyDomain().
XrdOucString XrdOucBonjourRecord::ServiceName [private] |
Referenced by GetServiceName(), MatchesServiceName(), operator=(), and SetServiceName().
TXTRecordRef XrdOucBonjourRecord::TXTRecord [private] |
1.7.3