XrdOucBonjourNode Class Reference

#include <XrdOucBonjour.hh>

List of all members.

Public Member Functions

 XrdOucBonjourNode ()
 XrdOucBonjourNode (const char *hostName, unsigned short port)
 XrdOucBonjourNode (const char *hostName, unsigned short port, XrdOucBonjourRecord const &bonjourInfo)
 XrdOucBonjourNode (XrdOucBonjourRecord const &bonjourInfo)
 XrdOucBonjourNode (const char *name, const char *type, const char *domain)
 XrdOucBonjourNode (const XrdOucBonjourNode &other)
virtual ~XrdOucBonjourNode ()
const char * GetHostName () const
unsigned short GetPort () const
const XrdOucBonjourRecordGetBonjourRecord () const
XrdOucBonjourRecordGetBonjourRecord ()
void SetHostName (const char *hostName)
void SetPort (unsigned short port)
void SetBonjourRecord (const XrdOucBonjourRecord &record)
XrdOucBonjourNodeoperator= (const XrdOucBonjourNode &other)
void Print () const

Private Attributes

XrdOucString HostName
unsigned short Port
XrdOucBonjourRecord BonjourInfo


Detailed Description

Definition at line 155 of file XrdOucBonjour.hh.


Constructor & Destructor Documentation

XrdOucBonjourNode::XrdOucBonjourNode (  )  [inline]

Definition at line 162 of file XrdOucBonjour.hh.

References Port.

XrdOucBonjourNode::XrdOucBonjourNode ( const char *  hostName,
unsigned short  port 
) [inline]

Definition at line 166 of file XrdOucBonjour.hh.

References Port.

XrdOucBonjourNode::XrdOucBonjourNode ( const char *  hostName,
unsigned short  port,
XrdOucBonjourRecord const &  bonjourInfo 
) [inline]

Definition at line 172 of file XrdOucBonjour.hh.

References Port.

XrdOucBonjourNode::XrdOucBonjourNode ( XrdOucBonjourRecord const &  bonjourInfo  )  [inline]

Definition at line 179 of file XrdOucBonjour.hh.

References Port.

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

Definition at line 185 of file XrdOucBonjour.hh.

References Port.

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

Definition at line 192 of file XrdOucBonjour.hh.

References Port.

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

Definition at line 197 of file XrdOucBonjour.hh.


Member Function Documentation

const char* XrdOucBonjourNode::GetHostName (  )  const [inline]

Definition at line 199 of file XrdOucBonjour.hh.

References XrdOucString::c_str(), HostName, XrdOucString::length(), and NULL.

Referenced by Print().

unsigned short XrdOucBonjourNode::GetPort (  )  const [inline]

Definition at line 202 of file XrdOucBonjour.hh.

References Port.

Referenced by Print().

const XrdOucBonjourRecord& XrdOucBonjourNode::GetBonjourRecord (  )  const [inline]

Definition at line 205 of file XrdOucBonjour.hh.

References BonjourInfo.

Referenced by Print(), XrdOucAppleBonjour::ResolveNodeInformation(), XrdOucAvahiBonjour::ResolveReply(), and XrdOucAppleBonjour::ResolveReply().

XrdOucBonjourRecord& XrdOucBonjourNode::GetBonjourRecord (  )  [inline]

Definition at line 208 of file XrdOucBonjour.hh.

References BonjourInfo.

void XrdOucBonjourNode::SetHostName ( const char *  hostName  ) 

Definition at line 196 of file XrdOucBonjour.cc.

References XrdOucString::assign(), and HostName.

Referenced by XrdOucAvahiBonjour::ResolveReply(), and XrdOucAppleBonjour::ResolveReply().

void XrdOucBonjourNode::SetPort ( unsigned short  port  ) 

Definition at line 201 of file XrdOucBonjour.cc.

References Port.

Referenced by XrdOucAvahiBonjour::ResolveReply(), and XrdOucAppleBonjour::ResolveReply().

void XrdOucBonjourNode::SetBonjourRecord ( const XrdOucBonjourRecord record  ) 

Definition at line 206 of file XrdOucBonjour.cc.

References BonjourInfo.

XrdOucBonjourNode & XrdOucBonjourNode::operator= ( const XrdOucBonjourNode other  ) 

Definition at line 211 of file XrdOucBonjour.cc.

References XrdOucString::assign(), BonjourInfo, HostName, and Port.

void XrdOucBonjourNode::Print (  )  const

Definition at line 222 of file XrdOucBonjour.cc.

References GetBonjourRecord(), GetHostName(), GetPort(), XrdMonCtrCollector::port, XrdOucBonjourRecord::Print(), XrdSysError::Say(), and snprintf.


Member Data Documentation

XrdOucString XrdOucBonjourNode::HostName [private]

Definition at line 157 of file XrdOucBonjour.hh.

Referenced by GetHostName(), operator=(), and SetHostName().

unsigned short XrdOucBonjourNode::Port [private]

Definition at line 158 of file XrdOucBonjour.hh.

Referenced by GetPort(), operator=(), SetPort(), and XrdOucBonjourNode().

XrdOucBonjourRecord XrdOucBonjourNode::BonjourInfo [private]

Definition at line 159 of file XrdOucBonjour.hh.

Referenced by GetBonjourRecord(), operator=(), and SetBonjourRecord().


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