XrdCl::LocationInfo::Location Class Reference

Location. More...

#include <XrdClXRootDResponses.hh>

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.

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

Referenced by GetAccessType().

Referenced by GetAddress().

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


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

Generated on 11 May 2017 for xrootd by  doxygen 1.6.1