|
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 InitTXTRecord(), CopyTXTRecord(), and TXTRecord.
| virtual XrdOucBonjourRecord::~XrdOucBonjourRecord | ( | ) | [inline, virtual] |
References TXTRecord.
| void XrdOucBonjourRecord::AddRawTXTRecord | ( | const char * | rawData | ) |
References TXTRecord, and InitTXTRecord().
Referenced by XrdOucAppleBonjour::ResolveReply().
| void XrdOucBonjourRecord::AddTXTRecord | ( | const char * | key, |
| const char * | value | ||
| ) |
References TXTRecord.
Referenced by XrdOucAvahiBonjour::ResolveReply(), and AddTXTRecord().
| void XrdOucBonjourRecord::AddTXTRecord | ( | const char * | key, |
| int | value | ||
| ) |
References snprintf, and AddTXTRecord().
| void XrdOucBonjourRecord::CopyTXTRecord | ( | const TXTRecordRef & | otherRecord | ) | [private] |
References TXTRecord.
Referenced by operator=(), and XrdOucBonjourRecord().
| void XrdOucBonjourRecord::DeleteTXTRecord | ( | ) |
References TXTRecord, and InitTXTRecord().
| const char* XrdOucBonjourRecord::GetRegisteredType | ( | ) | const [inline] |
| const char* XrdOucBonjourRecord::GetReplyDomain | ( | ) | const [inline] |
References ReplyDomain, XrdOucString::length(), and XrdOucString::c_str().
Referenced by XrdOucAppleBonjour::RegisterService(), XrdOucAppleBonjour::ResolveNodeInformation(), XrdOucAvahiBonjour::RegisterEntries(), and Print().
| const char* XrdOucBonjourRecord::GetServiceName | ( | ) | const [inline] |
References ServiceName, XrdOucString::length(), and XrdOucString::c_str().
Referenced by XrdOucAppleBonjour::RegisterService(), XrdOucAppleBonjour::ResolveNodeInformation(), XrdOucAppleBonjour::XrdOucAppleBonjourSearchNode::operator()(), XrdOucAvahiBonjour::EntryGroupReply(), XrdOucAvahiBonjour::RegisterEntries(), XrdOucAvahiBonjour::XrdOucAvahiBonjourSearchNode::operator()(), and Print().
| const char* XrdOucBonjourRecord::GetTXTRecordData | ( | ) | const [inline] |
References TXTRecord.
Referenced by XrdOucAppleBonjour::RegisterService(), and Print().
| 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 DeleteTXTRecord(), operator=(), AddRawTXTRecord(), 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 ServiceName, XrdOucString::assign(), RegisteredType, ReplyDomain, TXTRecord, InitTXTRecord(), and CopyTXTRecord().
| void XrdOucBonjourRecord::Print | ( | ) | const |
References XrdSysError::Say(), GetServiceName(), GetRegisteredType(), GetReplyDomain(), and GetTXTRecordData().
Referenced by XrdOucBonjourNode::Print().
| void XrdOucBonjourRecord::SetRegisteredType | ( | const char * | type | ) |
References RegisteredType, and XrdOucString::assign().
Referenced by XrdOucAppleBonjour::RegisterReply().
| void XrdOucBonjourRecord::SetReplyDomain | ( | const char * | domain | ) |
References ReplyDomain, and XrdOucString::assign().
Referenced by XrdOucAppleBonjour::RegisterReply().
| void XrdOucBonjourRecord::SetServiceName | ( | const char * | name | ) |
References ServiceName, and XrdOucString::assign().
Referenced by XrdOucAppleBonjour::RegisterReply(), XrdOucAvahiBonjour::EntryGroupReply(), and XrdOucAvahiBonjour::RegisterEntries().
Referenced by SetRegisteredType(), operator=(), GetRegisteredType(), and MatchesRegisteredType().
XrdOucString XrdOucBonjourRecord::ReplyDomain [private] |
Referenced by SetReplyDomain(), operator=(), GetReplyDomain(), and MatchesReplyDomain().
XrdOucString XrdOucBonjourRecord::ServiceName [private] |
Referenced by SetServiceName(), operator=(), GetServiceName(), and MatchesServiceName().
TXTRecordRef XrdOucBonjourRecord::TXTRecord [private] |
1.7.5