![]() |
XRootD
|
Handle an async response. More...
#include <XrdClXRootDResponses.hh>
Public Member Functions | |
virtual | ~ResponseHandler () |
virtual void | HandleResponse (XRootDStatus *status, AnyObject *response) |
virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
Static Public Member Functions | |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus &, AnyObject &)> func) |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus *, AnyObject *)> func) |
Handle an async response.
Definition at line 1126 of file XrdClXRootDResponses.hh.
|
inlinevirtual |
Definition at line 1129 of file XrdClXRootDResponses.hh.
|
inlinevirtual |
Called when a response to associated request arrives or an error occurs
status | status of the request |
response | an object associated with the response (request dependent) |
Reimplemented in XrdCl::ChunkHandler, XrdCl::PipelineHandler, XrdCl::FutureWrapper< void >, XrdCl::FutureWrapper< Response >, XrdCl::TaskWrapper< void, Return >, XrdCl::TaskWrapper< Response, Return >, XrdCl::UnpackXAttr, XrdCl::UnpackXAttrStatus, XrdCl::MetalinkReadHandler, XrdCl::SyncResponseHandler, XrdCl::EcPgReadResponseHandler, XrdCl::ZipListHandler, XrdPosixFile, XrdSsiEvent, XrdPosixFileRH, and XrdCl::PgReadSubstitutionHandler.
Definition at line 1156 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::EcHandler::Close(), XrdCl::HttpFilePlugIn::Close(), XrdCl::ZipArchive::CloseArchive(), XrdCl::HttpFileSystemPlugIn::DirList(), XrdCl::PgReadSubstitutionHandler::HandleResponse(), XrdCl::ZipListHandler::HandleResponse(), XrdCl::EcPgReadResponseHandler::HandleResponse(), XrdCl::MetalinkReadHandler::HandleResponse(), XrdCl::UnpackXAttrStatus::HandleResponse(), XrdCl::UnpackXAttr::HandleResponse(), HandleResponseWithHosts(), XrdCl::HttpFileSystemPlugIn::MkDir(), XrdCl::HttpFileSystemPlugIn::Mv(), XrdCl::HttpFilePlugIn::Open(), XrdEc::Reader::Open(), XrdCl::ZipArchive::OpenArchive(), XrdCl::FileStateHandler::PgWrite(), XrdCl::HttpFilePlugIn::Read(), XrdCl::HttpFileSystemPlugIn::Rm(), XrdCl::HttpFileSystemPlugIn::RmDir(), XrdEc::ResponseJob::Run(), XrdCl::HttpFilePlugIn::Stat(), XrdCl::HttpFileSystemPlugIn::Stat(), XrdCl::HttpFilePlugIn::VectorRead(), XrdEc::Reader::VectorRead(), Wrap(), and XrdCl::HttpFilePlugIn::Write().
|
inlinevirtual |
Called when a response to associated request arrives or an error occurs
status | status of the request |
response | an object associated with the response (request dependent) |
hostList | list of hosts the request was redirected to |
Reimplemented in XrdCl::PipelineHandler, XrdCl::RawWrapper, XrdCl::ExOpenFuncWrapper, XrdCl::FunctionWrapper< void >, XrdCl::FunctionWrapper< Response >, XrdCl::MetalinkOpenHandler, XrdCl::AssignLastURLHandler, XrdCl::AssignLBHandler, and XrdCl::NullResponseHandler.
Definition at line 1140 of file XrdClXRootDResponses.hh.
References HandleResponse().
Referenced by XrdCl::AssignLBHandler::HandleResponseWithHosts(), XrdCl::AssignLastURLHandler::HandleResponseWithHosts(), XrdCl::MetalinkOpenHandler::HandleResponseWithHosts(), XrdCl::RawWrapper::HandleResponseWithHosts(), XrdCl::LocalFileTask::Run(), XrdCl::ResponseJob::Run(), and XrdCl::FileStateHandler::Stat().
|
static |
Factory function for generating handler objects from lambdas
func | : the callback, must not throw |
Definition at line 754 of file XrdClXRootDResponses.cc.
References XrdCl::Status::code, HandleResponse(), XrdCl::Status::IsOK(), and XrdCl::suContinue.
Referenced by XrdCl::EcHandler::Close(), and XrdCl::FileStateHandler::PgWrite().
|
static |
Factory function for generating handler objects from lambdas
func | : the callback, must not throw |
Definition at line 786 of file XrdClXRootDResponses.cc.
References XrdCl::Status::code, HandleResponse(), XrdCl::Status::IsOK(), and XrdCl::suContinue.