XrdOucBonjourRecord Class Reference

#include <XrdOucBonjour.hh>

List of all members.

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 ()
XrdOucBonjourRecordoperator= (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


Detailed Description

Definition at line 75 of file XrdOucBonjour.hh.


Constructor & Destructor Documentation

XrdOucBonjourRecord::XrdOucBonjourRecord (  )  [inline]

Definition at line 85 of file XrdOucBonjour.hh.

References InitTXTRecord().

XrdOucBonjourRecord::XrdOucBonjourRecord ( const char *  name,
const char *  type,
const char *  domain 
) [inline]

Definition at line 89 of file XrdOucBonjour.hh.

References InitTXTRecord().

XrdOucBonjourRecord::XrdOucBonjourRecord ( const XrdOucBonjourRecord other  )  [inline]

Definition at line 96 of file XrdOucBonjour.hh.

References CopyTXTRecord(), InitTXTRecord(), and TXTRecord.

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

Definition at line 103 of file XrdOucBonjour.hh.

References TXTRecord.


Member Function Documentation

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

Definition at line 176 of file XrdOucBonjour.cc.

References TXTRecord.

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]

Definition at line 128 of file XrdOucBonjour.hh.

References ServiceName.

int XrdOucBonjourRecord::MatchesRegisteredType ( const char *  pattern  )  const [inline]

Definition at line 131 of file XrdOucBonjour.hh.

References RegisteredType.

int XrdOucBonjourRecord::MatchesReplyDomain ( const char *  pattern  )  const [inline]

Definition at line 134 of file XrdOucBonjour.hh.

References ReplyDomain.

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 
)

Definition at line 83 of file XrdOucBonjour.cc.

References AddTXTRecord(), and snprintf.

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  ) 

Definition at line 92 of file XrdOucBonjour.cc.

References XrdOucString::assign(), and ServiceName.

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 (  ) 

Definition at line 112 of file XrdOucBonjour.cc.

References InitTXTRecord(), and TXTRecord.

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().


Member Data Documentation

XrdOucString XrdOucBonjourRecord::ServiceName [private]

Definition at line 77 of file XrdOucBonjour.hh.

Referenced by GetServiceName(), MatchesServiceName(), operator=(), and SetServiceName().

XrdOucString XrdOucBonjourRecord::RegisteredType [private]

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().


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