xrootd
Public Member Functions | Private Attributes
XrdCl::LocationInfo::Location Class Reference

Location. More...

#include <XrdClXRootDResponses.hh>

Collaboration diagram for XrdCl::LocationInfo::Location:
Collaboration graph
[legend]

List of all members.

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

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

Constructor.


Member Function Documentation

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.

Referenced by XrdCl::FileSystem::DirList().

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.


Member Data Documentation

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

Referenced by GetAccessType().

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

Referenced by GetAddress().

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

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


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