#include <XrdOucBonjour.hh>
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 XrdOucBonjourRecord & | GetBonjourRecord () const |
| XrdOucBonjourRecord & | GetBonjourRecord () |
| void | SetHostName (const char *hostName) |
| void | SetPort (unsigned short port) |
| void | SetBonjourRecord (const XrdOucBonjourRecord &record) |
| XrdOucBonjourNode & | operator= (const XrdOucBonjourNode &other) |
| void | Print () const |
Private Attributes | |
| XrdOucString | HostName |
| unsigned short | Port |
| XrdOucBonjourRecord | BonjourInfo |
Definition at line 155 of file XrdOucBonjour.hh.
| XrdOucBonjourNode::XrdOucBonjourNode | ( | ) | [inline] |
| XrdOucBonjourNode::XrdOucBonjourNode | ( | const char * | hostName, | |
| unsigned short | port | |||
| ) | [inline] |
| XrdOucBonjourNode::XrdOucBonjourNode | ( | const char * | hostName, | |
| unsigned short | port, | |||
| XrdOucBonjourRecord const & | bonjourInfo | |||
| ) | [inline] |
| XrdOucBonjourNode::XrdOucBonjourNode | ( | XrdOucBonjourRecord const & | bonjourInfo | ) | [inline] |
| XrdOucBonjourNode::XrdOucBonjourNode | ( | const char * | name, | |
| const char * | type, | |||
| const char * | domain | |||
| ) | [inline] |
| XrdOucBonjourNode::XrdOucBonjourNode | ( | const XrdOucBonjourNode & | other | ) | [inline] |
| virtual XrdOucBonjourNode::~XrdOucBonjourNode | ( | ) | [inline, virtual] |
Definition at line 197 of file XrdOucBonjour.hh.
| 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] |
| 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] |
| 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 | ) |
| 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.
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().
Definition at line 159 of file XrdOucBonjour.hh.
Referenced by GetBonjourRecord(), operator=(), and SetBonjourRecord().
1.5.1