xrootd
Public Member Functions | Private Attributes | List of all members
XrdCl::LocationInfo::Location Class Reference

Location. More...

#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
 

Detailed Description

Location.

Constructor & Destructor Documentation

◆ Location()

XrdCl::LocationInfo::Location::Location ( const std::string &  address,
LocationType  type,
AccessType  access 
)
inline

Constructor.

Member Function Documentation

◆ GetAccessType()

AccessType XrdCl::LocationInfo::Location::GetAccessType ( ) const
inline

Get access type.

References pAccess.

◆ GetAddress()

const std::string& XrdCl::LocationInfo::Location::GetAddress ( ) const
inline

Get address.

References pAddress.

◆ GetType()

LocationType XrdCl::LocationInfo::Location::GetType ( ) const
inline

Get location type.

References pType.

◆ IsManager()

bool XrdCl::LocationInfo::Location::IsManager ( ) const
inline

Check whether the location is a manager.

References XrdCl::LocationInfo::ManagerOnline, XrdCl::LocationInfo::ManagerPending, and pType.

◆ IsServer()

bool XrdCl::LocationInfo::Location::IsServer ( ) const
inline

Check whether the location is a server.

References pType, XrdCl::LocationInfo::ServerOnline, and XrdCl::LocationInfo::ServerPending.

Member Data Documentation

◆ pAccess

AccessType XrdCl::LocationInfo::Location::pAccess
private

Referenced by GetAccessType().

◆ pAddress

std::string XrdCl::LocationInfo::Location::pAddress
private

Referenced by GetAddress().

◆ pType

LocationType XrdCl::LocationInfo::Location::pType
private

Referenced by GetType(), IsManager(), and IsServer().


The documentation for this class was generated from the following file: