Request status.
More...
#include <XrdClXRootDResponses.hh>
List of all members.
Public Member Functions |
| | XRootDStatus (uint16_t st=0, uint16_t code=0, uint32_t errN=0, const std::string &message="") |
| | Constructor.
|
| | XRootDStatus (const Status &st, const std::string &message="") |
| | Constructor.
|
| const std::string & | GetErrorMessage () const |
| | Get error message.
|
| void | SetErrorMessage (const std::string &message) |
| | Set the error message.
|
| std::string | ToStr () const |
| | Convert to string.
|
| | Status (uint16_t st=stOK, uint16_t cod=errNone, uint32_t errN=0) |
| | Constructor.
|
| bool | IsError () const |
| | Error.
|
| bool | IsFatal () const |
| | Fatal error.
|
| bool | IsOK () const |
| | We're fine.
|
| int | GetShellCode () const |
| | Get the status code that may be returned to the shell.
|
| std::string | ToString () const |
| | Create a string representation.
|
Additional Inherited Members |
| uint16_t | status |
| | Status of the execution.
|
| uint16_t | code |
| | Error type, or additional hints on what to do.
|
| uint32_t | errNo |
| | Errno, if any.
|
Detailed Description
Constructor & Destructor Documentation
| XrdCl::XRootDStatus::XRootDStatus |
( |
uint16_t |
st = 0, |
|
|
uint16_t |
code = 0, |
|
|
uint32_t |
errN = 0, |
|
|
const std::string & |
message = "" |
|
) |
| |
|
inline |
| XrdCl::XRootDStatus::XRootDStatus |
( |
const Status & |
st, |
|
|
const std::string & |
message = "" |
|
) |
| |
|
inline |
Member Function Documentation
| const std::string& XrdCl::XRootDStatus::GetErrorMessage |
( |
| ) |
const |
|
inline |
| void XrdCl::XRootDStatus::SetErrorMessage |
( |
const std::string & |
message | ) |
|
|
inline |
| std::string XrdCl::XRootDStatus::ToStr |
( |
| ) |
const |
|
inline |
Convert to string.
References XrdCl::Status::code, XrdCl::errErrorResponse, XrdCl::Status::errNo, pMessage, and XrdCl::Status::ToString().
Referenced by XrdCl::ThirdPartyCopyJob::CanDo(), XrdCl::Utils::CheckTPC(), DoCD(), DoChMod(), DoLocate(), DoLS(), DoMkDir(), DoMv(), DoQuery(), DoRm(), DoRmDir(), DoStat(), DoStatVFS(), DoTruncate(), MonitorTest::Event(), ExecuteCommand(), ExecuteInteractive(), XrdCl::FileStateHandler::FailMessage(), XrdCl::FileStateHandler::OnClose(), XrdCl::FileStateHandler::OnOpen(), XrdCl::FileStateHandler::OnStateError(), XrdCl::ClassicCopyJob::Run(), and XrdCl::ThirdPartyCopyJob::Run().
Member Data Documentation
| std::string XrdCl::XRootDStatus::pMessage |
|
private |
The documentation for this class was generated from the following file: