#include <XrdClXRootDResponses.hh>
Public Member Functions | |
Location (const std::string &address, LocationType type, AccessType access) | |
Constructor. | |
const std::string & | GetAddress () const |
Get address. | |
LocationType | GetType () const |
Get location type. | |
AccessType | GetAccessType () const |
Get access type. | |
bool | IsServer () const |
Check whether the location is a server. | |
bool | IsManager () const |
Check whether the location is a manager. | |
Private Attributes | |
std::string | pAddress |
LocationType | pType |
AccessType | pAccess |
XrdCl::LocationInfo::Location::Location | ( | const std::string & | address, | |
LocationType | type, | |||
AccessType | access | |||
) | [inline] |
Constructor.
AccessType XrdCl::LocationInfo::Location::GetAccessType | ( | ) | const [inline] |
Get access type.
References pAccess.
const std::string& XrdCl::LocationInfo::Location::GetAddress | ( | ) | const [inline] |
Get address.
References pAddress.
LocationType XrdCl::LocationInfo::Location::GetType | ( | ) | const [inline] |
Get location type.
References pType.
bool XrdCl::LocationInfo::Location::IsManager | ( | ) | const [inline] |
Check whether the location is a manager.
References XrdCl::LocationInfo::ManagerOnline, XrdCl::LocationInfo::ManagerPending, and pType.
bool XrdCl::LocationInfo::Location::IsServer | ( | ) | const [inline] |
Check whether the location is a server.
References pType, XrdCl::LocationInfo::ServerOnline, and XrdCl::LocationInfo::ServerPending.
Referenced by GetAccessType().
std::string XrdCl::LocationInfo::Location::pAddress [private] |
Referenced by GetAddress().
Referenced by GetType(), IsManager(), and IsServer().