#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 |
Definition at line 75 of file XrdOucBonjour.hh.
XrdOucBonjourRecord::XrdOucBonjourRecord | ( | ) | [inline] |
XrdOucBonjourRecord::XrdOucBonjourRecord | ( | const char * | name, | |
const char * | type, | |||
const char * | domain | |||
) | [inline] |
XrdOucBonjourRecord::XrdOucBonjourRecord | ( | const XrdOucBonjourRecord & | other | ) | [inline] |
Definition at line 96 of file XrdOucBonjour.hh.
References CopyTXTRecord(), InitTXTRecord(), and TXTRecord.
virtual XrdOucBonjourRecord::~XrdOucBonjourRecord | ( | ) | [inline, virtual] |
void XrdOucBonjourRecord::InitTXTRecord | ( | ) | [private] |
Definition at line 155 of file XrdOucBonjour.cc.
References NULL, and TXTRecord.
Referenced by AddRawTXTRecord(), DeleteTXTRecord(), operator=(), and XrdOucBonjourRecord().
void XrdOucBonjourRecord::CopyTXTRecord | ( | const TXTRecordRef & | otherRecord | ) | [private] |
Definition at line 160 of file XrdOucBonjour.cc.
References TXTRecord.
Referenced by operator=(), and XrdOucBonjourRecord().
const char* XrdOucBonjourRecord::GetServiceName | ( | ) | const [inline] |
Definition at line 107 of file XrdOucBonjour.hh.
References XrdOucString::c_str(), XrdOucString::length(), NULL, and ServiceName.
Referenced by Print(), XrdOucAppleBonjour::RegisterService(), and XrdOucAppleBonjour::ResolveNodeInformation().
const char* XrdOucBonjourRecord::GetRegisteredType | ( | ) | const [inline] |
Definition at line 110 of file XrdOucBonjour.hh.
References XrdOucString::c_str(), XrdOucString::length(), NULL, and RegisteredType.
Referenced by Print(), XrdOucAppleBonjour::RegisterService(), XrdOucAvahiBonjour::RegisterService(), and XrdOucAppleBonjour::ResolveNodeInformation().
const char* XrdOucBonjourRecord::GetReplyDomain | ( | ) | const [inline] |
Definition at line 113 of file XrdOucBonjour.hh.
References XrdOucString::c_str(), XrdOucString::length(), NULL, and ReplyDomain.
Referenced by Print(), XrdOucAppleBonjour::RegisterService(), and XrdOucAppleBonjour::ResolveNodeInformation().
const char* XrdOucBonjourRecord::GetTXTRecordData | ( | ) | const [inline] |
Definition at line 116 of file XrdOucBonjour.hh.
References TXTRecord.
Referenced by Print(), and XrdOucAppleBonjour::RegisterService().
const char * XrdOucBonjourRecord::GetTXTValue | ( | const char * | key, | |
int & | len | |||
) | const |
int XrdOucBonjourRecord::GetTXTRecordLength | ( | ) | const [inline] |
Definition at line 120 of file XrdOucBonjour.hh.
References TXTRecord.
Referenced by XrdOucAppleBonjour::RegisterService().
int XrdOucBonjourRecord::MatchesServiceName | ( | const char * | pattern | ) | const [inline] |
int XrdOucBonjourRecord::MatchesRegisteredType | ( | const char * | pattern | ) | const [inline] |
int XrdOucBonjourRecord::MatchesReplyDomain | ( | const char * | pattern | ) | const [inline] |
void XrdOucBonjourRecord::AddTXTRecord | ( | const char * | key, | |
const char * | value | |||
) |
Definition at line 78 of file XrdOucBonjour.cc.
References TXTRecord.
Referenced by AddTXTRecord(), and XrdOucAvahiBonjour::ResolveReply().
void XrdOucBonjourRecord::AddTXTRecord | ( | const char * | key, | |
int | value | |||
) |
void XrdOucBonjourRecord::AddRawTXTRecord | ( | const char * | rawData | ) |
Definition at line 138 of file XrdOucBonjour.cc.
References InitTXTRecord(), and TXTRecord.
Referenced by XrdOucAppleBonjour::ResolveReply().
void XrdOucBonjourRecord::SetServiceName | ( | const char * | name | ) |
void XrdOucBonjourRecord::SetRegisteredType | ( | const char * | type | ) |
Definition at line 102 of file XrdOucBonjour.cc.
References XrdOucString::assign(), and RegisteredType.
void XrdOucBonjourRecord::SetReplyDomain | ( | const char * | domain | ) |
Definition at line 107 of file XrdOucBonjour.cc.
References XrdOucString::assign(), and ReplyDomain.
void XrdOucBonjourRecord::DeleteTXTRecord | ( | ) |
XrdOucBonjourRecord & XrdOucBonjourRecord::operator= | ( | const XrdOucBonjourRecord & | other | ) |
Definition at line 118 of file XrdOucBonjour.cc.
References XrdOucString::assign(), CopyTXTRecord(), InitTXTRecord(), RegisteredType, ReplyDomain, ServiceName, and TXTRecord.
void XrdOucBonjourRecord::Print | ( | ) | const |
Definition at line 132 of file XrdOucBonjour.cc.
References GetRegisteredType(), GetReplyDomain(), GetServiceName(), GetTXTRecordData(), and XrdSysError::Say().
Referenced by XrdOucBonjourNode::Print().
XrdOucString XrdOucBonjourRecord::ServiceName [private] |
Definition at line 77 of file XrdOucBonjour.hh.
Referenced by GetServiceName(), MatchesServiceName(), operator=(), and SetServiceName().
Definition at line 78 of file XrdOucBonjour.hh.
Referenced by GetRegisteredType(), MatchesRegisteredType(), operator=(), and SetRegisteredType().
XrdOucString XrdOucBonjourRecord::ReplyDomain [private] |
Definition at line 79 of file XrdOucBonjour.hh.
Referenced by GetReplyDomain(), MatchesReplyDomain(), operator=(), and SetReplyDomain().
TXTRecordRef XrdOucBonjourRecord::TXTRecord [private] |
Definition at line 80 of file XrdOucBonjour.hh.
Referenced by AddRawTXTRecord(), AddTXTRecord(), CopyTXTRecord(), DeleteTXTRecord(), GetTXTRecordData(), GetTXTRecordLength(), GetTXTValue(), InitTXTRecord(), operator=(), XrdOucBonjourRecord(), and ~XrdOucBonjourRecord().