|
XRootD
|
Procedure execution status. More...
#include <XrdClStatus.hh>
Inheritance diagram for XrdCl::Status:
Collaboration diagram for XrdCl::Status:Public Member Functions | |
| Status (uint16_t st=stOK, uint16_t cod=errNone, uint32_t errN=0) | |
| Constructor. More... | |
| int | GetShellCode () const |
| Get the status code that may be returned to the shell. More... | |
| bool | IsError () const |
| Error. More... | |
| bool | IsFatal () const |
| Fatal error. More... | |
| bool | IsOK () const |
| We're fine. More... | |
| std::string | ToString () const |
| Create a string representation. More... | |
Static Public Member Functions | |
| static bool | IsSocketError (uint16_t code) |
Public Attributes | |
| uint16_t | code |
| Error type, or additional hints on what to do. More... | |
| uint32_t | errNo |
| Errno, if any. More... | |
| uint16_t | status |
| Status of the execution. More... | |
Procedure execution status.
Definition at line 114 of file XrdClStatus.hh.
Constructor.
Definition at line 119 of file XrdClStatus.hh.
|
inline |
Get the status code that may be returned to the shell.
Definition at line 129 of file XrdClStatus.hh.
Referenced by ExecuteCommand(), and main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Fatal error.
Definition at line 123 of file XrdClStatus.hh.
References status, and XrdCl::stFatal.
Referenced by XrdCl::Stream::OnConnectError(), and ToString().
Here is the caller graph for this function:
|
inline |
We're fine.
Definition at line 124 of file XrdClStatus.hh.
References status, and XrdCl::stOK.
Referenced by XrdCl::ZipCache::ZipCache(), XrdPosixFile::~XrdPosixFile(), XrdCl::AssureFile(), XrdCl::Stream::CanCollapse(), XrdCl::Utils::CheckTPC(), XrdCl::Utils::CheckTPCLite(), XrdCl::FileSystem::ChMod(), XrdCl::EcHandler::Close(), XrdCl::FileStateHandler::Close(), XrdCl::File::Close(), XrdEc::StrmWriter::Close(), XrdPosixFile::Close(), XrdCl::ZipArchive::CloseArchive(), XrdCl::Socket::Connect(), XrdCl::Tls::Connect(), XrdCl::AsyncSocketHandler::Connect(), XrdCl::MessageUtils::CreateXAttrBody(), XrdCl::FileSystem::DeepLocate(), XrdCl::FileSystem::DelXAttr(), XrdCl::File::DelXAttr(), XrdCl::FileSystem::DirList(), DoCache(), DoCat(), DoCD(), DoChMod(), DoLocate(), DoLS(), DoMkDir(), DoMv(), DoPrepare(), DoQuery(), DoRm(), DoRmDir(), DoSpaceInfo(), DoStat(), DoStatVFS(), DoTail(), DoTruncate(), DoXAttr(), XrdCl::Stream::EnableLink(), ProgressDisplay::EndJob(), XrdCl::AsyncSocketHandler::Event(), ExecuteCommand(), ExecuteInteractive(), XrdPosixAdmin::FanOut(), XrdCl::File::Fcntl(), XrdCl::Socket::Flash(), XrdCl::Stream::ForceConnect(), XrdCl::XRootDTransport::GetBody(), XrdCl::GetEcHandler(), XrdCl::XRootDTransport::GetHeader(), XrdCl::XRootDTransport::GetMore(), XrdCl::Utils::GetProtocolVersion(), XrdCl::Utils::GetRemoteCheckSum(), XrdCl::GetResponse(), GetShellCode(), XrdCl::FileSystemUtils::GetSpaceInfo(), XrdCl::Utils::GetSupportedCheckSums(), XrdCl::FileSystem::GetXAttr(), XrdCl::File::GetXAttr(), XrdCl::AsyncSocketHandler::HandleHandShake(), XrdCl::PgReadSubstitutionHandler::HandleResponse(), XrdPosixFileRH::HandleResponse(), XrdPosixFile::HandleResponse(), XrdCl::ZipListHandler::HandleResponse(), XrdCl::EcPgReadResponseHandler::HandleResponse(), XrdCl::MetalinkReadHandler::HandleResponse(), XrdCl::UnpackXAttrStatus::HandleResponse(), XrdCl::FutureWrapper< Response >::HandleResponse(), XrdCl::FutureWrapper< void >::HandleResponse(), XrdCl::ChunkHandler::HandleResponse(), XrdCl::AssignLBHandler::HandleResponseWithHosts(), XrdCl::AssignLastURLHandler::HandleResponseWithHosts(), XrdCl::MetalinkOpenHandler::HandleResponseWithHosts(), XrdCl::ExOpenFuncWrapper::HandleResponseWithHosts(), IndexRemote(), XrdCl::Socket::Initialize(), XrdCl::XRootDMsgHandler::InspectStatusRsp(), XrdCl::FileSystem::ListXAttr(), XrdCl::File::ListXAttr(), XrdCl::MetalinkRedirector::Load(), 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::Stream::OnReadTimeout(), XrdCl::AsyncSocketHandler::OnReadWhileHandshaking(), XrdCl::FileStateHandler::OnStateError(), XrdCl::XRootDMsgHandler::OnStatusReady(), XrdCl::AsyncSocketHandler::OnTLSHandShake(), XrdCl::AsyncSocketHandler::OnWrite(), XrdCl::AsyncSocketHandler::OnWriteWhileHandshaking(), xrdcl_proxy::ProxyPrefixFile::Open(), XrdCl::File::Open(), XrdCl::LocalFileHandler::Open(), XrdCl::FileStateHandler::Open(), XrdCl::EcHandler::Open(), XrdCl::FileStateHandler::PgRead(), XrdCl::File::PgRead(), XrdPosixFile::pgRead(), XrdCl::FileStateHandler::PgReadRetry(), XrdPosixFile::pgWrite(), XrdCl::FileStateHandler::PgWrite(), XrdCl::File::PgWrite(), XrdCl::FileSystem::Ping(), XrdCl::CopyProcess::Prepare(), XrdCl::FileSystem::Prepare(), XrdCl::XRootDMsgHandler::Process(), XrdCl::Utils::ProcessConfigDir(), XrdCl::FileSystem::Protocol(), XrdSsiSessReal::Provision(), XrdCl::FileSystem::Query(), XrdCl::AsyncHSReader::Read(), XrdCl::AsyncMsgReader::Read(), XrdPosixFile::Read(), XrdCl::Tls::Read(), XrdCl::AsyncRawReader::Read(), XrdCl::AsyncVectorReader::Read(), XrdEc::Reader::Read(), XrdCl::File::Read(), XrdEc::block_t::read_callback(), XrdCl::AsyncRawReaderIntfc::ReadBytesAsync(), XrdPosixFile::ReadV(), XrdCl::File::ReadV(), XrdCl::MessageUtils::RedirectMessage(), XrdCl::RedirectorRegistry::RegisterAndWait(), XrdPosixMap::Result(), XrdCl::FileSystem::Rm(), XrdCl::FileSystem::RmDir(), XrdCl::CopyProcess::Run(), XrdCl::ClassicCopyJob::Run(), XrdCl::ThirdPartyCopyJob::Run(), XrdCl::TPFallBackCopyJob::Run(), XrdCl::Operation< HasHndl >::Run(), XrdCl::SetXAttrImpl< HasHndl >::RunImpl(), XrdCl::GetXAttrImpl< HasHndl >::RunImpl(), XrdCl::DelXAttrImpl< HasHndl >::RunImpl(), XrdCl::SetXAttrFsImpl< HasHndl >::RunImpl(), XrdCl::GetXAttrFsImpl< HasHndl >::RunImpl(), XrdCl::DelXAttrFsImpl< HasHndl >::RunImpl(), XrdCl::OpenFileImpl< HasHndl >::RunImpl(), XrdCl::CloseFileImpl< HasHndl >::RunImpl(), XrdCl::ZipStatImpl< HasHndl >::RunImpl(), XrdCl::ZipListImpl< HasHndl >::RunImpl(), XrdCl::Tls::Send(), XrdCl::Socket::Send(), XrdCl::Stream::Send(), XrdCl::FileSystemData::Send(), XrdCl::FileSystem::SendCache(), XrdCl::FileSystem::SendInfo(), XrdCl::MessageUtils::SendMessage(), XrdSsiTaskReal::SetBuff(), XrdCl::FileSystem::SetXAttr(), XrdCl::File::SetXAttr(), XrdCl::File::Stat(), XrdCl::FileSystem::Stat(), XrdPosixAdmin::Stat(), XrdPosixFile::Stat(), XrdCl::FileSystem::StatVFS(), XrdCl::File::Sync(), XrdPosixFile::Sync(), ToString(), XrdCl::FileSystem::Truncate(), XrdCl::File::Truncate(), XrdSsiSessReal::Unprovision(), XrdCl::File::VectorRead(), XrdCl::File::VectorWrite(), XrdCl::File::Visa(), XrdCl::MessageUtils::WaitForResponse(), XrdCl::ResponseHandler::Wrap(), XrdCl::AsyncHSWriter::Write(), XrdCl::AsyncMsgWriter::Write(), XrdPosixFile::Write(), XrdCl::FileStateHandler::Write(), XrdEc::StrmWriter::Write(), XrdCl::File::Write(), XrdCl::XRootDMsgHandler::WriteMessageBody(), XrdCl::File::WriteV(), XrdSsiSessReal::XeqEvent(), XrdSsiTaskReal::XeqEvent(), and XrdFfsPosix_mkdir().
|
inlinestatic |
Definition at line 136 of file XrdClStatus.hh.
References code.
| std::string XrdCl::Status::ToString | ( | ) | const |
Create a string representation.
Definition at line 97 of file XrdClStatus.cc.
References code, errNo, IsFatal(), IsOK(), kXR_ArgInvalid, XrdCl::suContinue, XrdCl::suRetry, XProtocol::toErrno(), and XrdSysE2T().
Referenced by XrdCl::AssureFile(), XrdPosixXrootd::Close(), XrdCl::ZipArchive::CloseArchive(), XrdCl::AsyncSocketHandler::Connect(), XrdPosixFile::DelayedDestroy(), XrdCl::Stream::ForceError(), main(), XrdCl::Stream::OnError(), XrdCl::AsyncSocketHandler::OnFault(), XrdCl::AsyncSocketHandler::OnFaultWhileHandshaking(), XrdCl::XRootDMsgHandler::Process(), XrdCl::Utils::ProcessConfigDir(), XrdCl::MessageUtils::RedirectMessage(), XrdCl::ClassicCopyJob::Run(), XrdCl::MessageUtils::SendMessage(), XrdCl::XRootDStatus::ToStr(), and XrdCl::Action::ToString().
Here is the call graph for this function:
Here is the caller graph for this function:| uint16_t XrdCl::Status::code |
Error type, or additional hints on what to do.
Definition at line 147 of file XrdClStatus.hh.
Referenced by XrdCl::FileStateHandler::Close(), XrdCl::File::Close(), XrdCl::Socket::ConnectToAddress(), XrdCl::FileSystem::DirList(), DoLocate(), DoLS(), DoSpaceInfo(), XrdCl::AsyncSocketHandler::DoTlsHandShake(), Fatal(), XrdCl::PropertyList::Get(), XrdCl::XRootDTransport::GetBody(), XrdSsiUtils::GetErr(), XrdCl::XRootDTransport::GetHeader(), XrdCl::XRootDTransport::GetMore(), GetShellCode(), XrdCl::FileSystemUtils::GetSpaceInfo(), XrdCl::AsyncSocketHandler::HandleHandShake(), XrdCl::AssignLBHandler::HandleResponseWithHosts(), XrdCl::AssignLastURLHandler::HandleResponseWithHosts(), XrdCl::XRootDMsgHandler::InspectStatusRsp(), IsSocketError(), XrdCl::AsyncSocketHandler::OnConnectionReturn(), XrdCl::AsyncSocketHandler::OnRead(), XrdCl::AsyncSocketHandler::OnReadWhileHandshaking(), XrdCl::FileStateHandler::OnStateError(), XrdCl::AsyncSocketHandler::OnTLSHandShake(), XrdCl::AsyncSocketHandler::OnWrite(), XrdCl::AsyncSocketHandler::OnWriteWhileHandshaking(), XrdCl::LocalFileHandler::Open(), XrdCl::AsyncHSReader::Read(), XrdCl::AsyncMsgReader::Read(), XrdCl::AsyncRawReader::Read(), XrdCl::AsyncVectorReader::Read(), XrdCl::AsyncRawReaderIntfc::ReadBytesAsync(), XrdPosixMap::Result(), XrdCl::ClassicCopyJob::Run(), XrdCl::TPFallBackCopyJob::Run(), XrdCl::Socket::Send(), XrdCl::PropertyList::Set(), XrdSsiUtils::SetErr(), XrdCl::XRootDStatus::ToStr(), ToString(), XrdCl::ResponseHandler::Wrap(), XrdCl::AsyncHSWriter::Write(), XrdCl::AsyncMsgWriter::Write(), and XrdCl::XRootDMsgHandler::WriteMessageBody().
| uint32_t XrdCl::Status::errNo |
Errno, if any.
Definition at line 148 of file XrdClStatus.hh.
Referenced by XrdCl::Socket::ConnectToAddress(), XrdCl::PropertyList::Get(), XrdSsiUtils::GetErr(), main(), XrdCl::AsyncSocketHandler::OnWrite(), XrdPosixMap::Result(), XrdCl::PropertyList::Set(), XrdSsiUtils::SetErr(), XrdCl::XRootDStatus::ToStr(), ToString(), XrdCl::AsyncHSWriter::Write(), and XrdCl::AsyncMsgWriter::Write().
| uint16_t XrdCl::Status::status |
Status of the execution.
Definition at line 146 of file XrdClStatus.hh.
Referenced by XrdCl::Utils::CheckTPC(), XrdCl::Utils::CheckTPCLite(), XrdCl::AsyncSocketHandler::Connect(), XrdCl::Stream::EnableLink(), XrdCl::PropertyList::Get(), XrdCl::UnpackXAttrStatus::HandleResponse(), XrdCl::UnpackXAttr::HandleResponse(), IsError(), IsFatal(), IsOK(), XrdCl::Socket::ReadRaw(), XrdCl::Stream::Send(), XrdCl::PropertyList::Set(), and XrdCl::Socket::WriteRaw().