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