|
xrootd
|
Procedure execution status. More...
#include <XrdClStatus.hh>

Public Member Functions | |
| Status (uint16_t st=stOK, uint16_t cod=errNone, uint32_t errN=0) | |
| Constructor. More... | |
| bool | IsError () const |
| Error. More... | |
| bool | IsFatal () const |
| Fatal error. More... | |
| bool | IsOK () const |
| We're fine. More... | |
| int | GetShellCode () const |
| Get the status code that may be returned to the shell. More... | |
| std::string | ToString () const |
| Create a string representation. More... | |
Public Attributes | |
| uint16_t | status |
| Status of the execution. More... | |
| uint16_t | code |
| Error type, or additional hints on what to do. More... | |
| uint32_t | errNo |
| Errno, if any. More... | |
Procedure execution status.
Constructor.
|
inline |
Get the status code that may be returned to the shell.
Referenced by ExecuteCommand().
|
inline |
Error.
References status, and XrdCl::stError.
|
inline |
Fatal error.
References status, and XrdCl::stFatal.
Referenced by XrdCl::XRootDMsgHandler::HandleError(), XrdCl::Stream::OnConnectError(), XrdCl::CopyProcess::Prepare(), and ToString().
|
inline |
We're fine.
References status, and XrdCl::stOK.
Referenced by XrdCl::ThirdPartyCopyJob::CanDo(), XrdCl::Utils::CheckTPC(), XrdCl::FileSystem::ChMod(), XrdCl::FileStateHandler::Close(), XrdCl::File::Close(), XrdCl::AsyncSocketHandler::Connect(), XrdCl::FileSystem::DeepLocate(), XrdCl::FileSystem::DirList(), XrdCl::XRootDTransport::DoAuthentication(), DoCD(), DoChMod(), DoLocate(), DoLS(), DoMkDir(), DoMv(), DoQuery(), DoRm(), DoRmDir(), DoStat(), DoStatVFS(), DoTruncate(), XrdCl::Stream::EnableLink(), ExecuteCommand(), ExecuteInteractive(), XrdCl::Stream::ForceConnect(), XrdCl::Utils::GetRemoteCheckSum(), GetShellCode(), XrdCl::XRootDMsgHandler::HandleError(), XrdCl::XRootDMsgHandler::HandleResponse(), XrdCl::AssignLBHandler::HandleResponseWithHosts(), XrdCl::XRootDTransport::HandShakeMain(), XrdCl::XRootDTransport::HandShakeParallel(), XrdCl::Socket::Initialize(), XrdCl::FileSystem::Locate(), main(), XrdCl::FileSystem::MkDir(), XrdCl::FileSystem::Mv(), XrdCl::Stream::OnConnect(), XrdCl::Stream::OnConnectError(), XrdCl::AsyncSocketHandler::OnConnectionReturn(), XrdCl::Stream::OnError(), XrdCl::FileStateHandler::OnOpen(), XrdCl::AsyncSocketHandler::OnRead(), XrdCl::AsyncSocketHandler::OnReadWhileHandshaking(), XrdCl::XRootDMsgHandler::OnStatusReady(), XrdCl::AsyncSocketHandler::OnWrite(), XrdCl::FileStateHandler::Open(), XrdCl::File::Open(), XrdCl::XRootDMsgHandler::ParseResponse(), XrdCl::FileSystem::Ping(), XrdCl::CopyProcess::Prepare(), XrdCl::FileSystem::Prepare(), XrdCl::XRootDMsgHandler::Process(), XrdCl::XRootDTransport::ProcessBindResp(), XrdCl::XRootDTransport::ProcessLogInResp(), XrdCl::XRootDTransport::ProcessProtocolResp(), XrdCl::XRootDMsgHandler::ProcessStatus(), XrdCl::FileSystem::Protocol(), XrdCl::FileSystem::Query(), XrdCl::File::Read(), XrdCl::AsyncSocketHandler::ReadMessage(), XrdCl::XRootDMsgHandler::ReadRawOther(), XrdCl::XRootDMsgHandler::ReadRawReadV(), XrdCl::Channel::Receive(), XrdCl::FileStateHandler::RecoverMessage(), XrdCl::FileStateHandler::ReOpenFileAtServer(), XrdCl::FileStateHandler::ReSendQueuedMessages(), XrdCl::XRootDMsgHandler::RewriteRequestRedirect(), XrdCl::FileSystem::Rm(), XrdCl::FileSystem::RmDir(), XrdCl::ClassicCopyJob::Run(), XrdCl::ThirdPartyCopyJob::Run(), XrdCl::CopyProcess::Run(), XrdCl::FileStateHandler::RunRecovery(), XrdCl::Stream::Send(), XrdCl::Channel::Send(), XrdCl::FileSystem::SendInfo(), XrdCl::MessageUtils::SendMessage(), XrdCl::FileStateHandler::SendOrQueue(), XrdCl::File::Stat(), XrdCl::FileSystem::Stat(), XrdCl::FileSystem::StatVFS(), XrdCl::File::Sync(), ToString(), XrdCl::File::Truncate(), XrdCl::FileSystem::Truncate(), XrdCl::File::VectorRead(), XrdCl::MessageUtils::WaitForResponse(), and XrdCl::File::Write().
| std::string XrdCl::Status::ToString | ( | ) | const |
Create a string representation.
References errNo, IsFatal(), IsOK(), XrdCl::suContinue, and XrdCl::suRetry.
Referenced by XrdCl::AsyncSocketHandler::Connect(), MonitorTest::Event(), XrdCl::XRootDMsgHandler::HandleError(), XrdCl::Stream::OnError(), XrdCl::Stream::OnFatalError(), XrdCl::AsyncSocketHandler::OnFault(), XrdCl::AsyncSocketHandler::OnFaultWhileHandshaking(), XrdCl::MessageUtils::SendMessage(), and XrdCl::XRootDStatus::ToStr().
| uint16_t XrdCl::Status::code |
Error type, or additional hints on what to do.
Referenced by XrdCl::FileStateHandler::Close(), XrdCl::Socket::ConnectToAddress(), DoLS(), GetShellCode(), XrdCl::XRootDMsgHandler::HandleError(), XrdCl::XRootDMsgHandler::HandleResponse(), XrdCl::XRootDTransport::HandShakeMain(), XrdCl::FileStateHandler::IsRecoverable(), XrdCl::AsyncSocketHandler::OnRead(), XrdCl::AsyncSocketHandler::OnReadWhileHandshaking(), XrdCl::AsyncSocketHandler::OnWrite(), XrdCl::AsyncSocketHandler::OnWriteWhileHandshaking(), XrdCl::XRootDMsgHandler::ProcessStatus(), XrdCl::AsyncSocketHandler::ReadMessage(), XrdCl::XRootDMsgHandler::ReadRawOther(), XrdCl::XRootDMsgHandler::ReadRawReadV(), XrdCl::ClassicCopyJob::Run(), XrdCl::FileStateHandler::SendOrQueue(), and XrdCl::XRootDStatus::ToStr().
| uint32_t XrdCl::Status::errNo |
Errno, if any.
Referenced by XrdCl::Socket::ConnectToAddress(), XrdCl::XRootDMsgHandler::HandleError(), XrdCl::XRootDMsgHandler::ProcessStatus(), XrdCl::XRootDStatus::ToStr(), and ToString().
| uint16_t XrdCl::Status::status |
Status of the execution.
Referenced by XrdCl::ThirdPartyCopyJob::CanDo(), XrdCl::Utils::CheckTPC(), XrdCl::AsyncSocketHandler::Connect(), XrdCl::Stream::EnableLink(), IsError(), IsFatal(), IsOK(), XrdCl::Stream::OnFatalError(), XrdCl::Socket::ReadRaw(), XrdCl::CopyProcess::Run(), XrdCl::Stream::Send(), and XrdCl::Socket::WriteRaw().
1.8.3.1