xrootd
Loading...
Searching...
No Matches
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.
 
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
 

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.

Referenced by XrdCl::EcHandler::LoadPlacement().

◆ 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: