|
XRootD
|
Handle an async response. More...
#include <XrdClXRootDResponses.hh>
Inheritance diagram for XrdCl::ResponseHandler:
Collaboration diagram for XrdCl::ResponseHandler: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 1185 of file XrdClXRootDResponses.hh.
|
inlinevirtual |
Definition at line 1188 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, and XrdPosixFileRH.
Definition at line 1215 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::EcHandler::Close(), XrdCl::ZipArchive::CloseArchive(), XrdClHttp::CurlReadOp::Fail(), XrdClHttp::CurlVectorReadOp::Fail(), XrdClHttp::CurlPutOp::Fail(), XrdCl::ZipListHandler::HandleResponse(), XrdCl::EcPgReadResponseHandler::HandleResponse(), XrdCl::MetalinkReadHandler::HandleResponse(), XrdCl::UnpackXAttrStatus::HandleResponse(), XrdCl::UnpackXAttr::HandleResponse(), HandleResponseWithHosts(), XrdClS3::Filesystem::MkDir(), XrdEc::Reader::Open(), XrdCl::ZipArchive::OpenArchive(), XrdCl::FileStateHandler::PgWrite(), XrdClS3::Filesystem::RmDir(), XrdEc::ResponseJob::Run(), XrdClHttp::CurlChecksumOp::Success(), XrdClHttp::CurlDeleteOp::Success(), XrdClHttp::CurlMkcolOp::Success(), XrdClHttp::CurlQueryOp::Success(), XrdClHttp::CurlReadOp::Success(), XrdClHttp::CurlVectorReadOp::Success(), XrdClHttp::CurlPgReadOp::Success(), XrdClHttp::CurlListdirOp::Success(), XrdClHttp::CurlCopyOp::Success(), XrdClHttp::CurlPutOp::Success(), XrdClHttp::CurlStatOp::SuccessImpl(), XrdEc::Reader::VectorRead(), and Wrap().
Here is the caller graph for this function:
|
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 1199 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Factory function for generating handler objects from lambdas
| func | : the callback, must not throw |
Definition at line 760 of file XrdClXRootDResponses.cc.
References XrdCl::Status::code, HandleResponse(), XrdCl::Status::IsOK(), and XrdCl::suContinue.
Referenced by XrdCl::EcHandler::Close(), and XrdCl::FileStateHandler::PgWrite().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Factory function for generating handler objects from lambdas
| func | : the callback, must not throw |
Definition at line 792 of file XrdClXRootDResponses.cc.
References XrdCl::Status::code, HandleResponse(), XrdCl::Status::IsOK(), and XrdCl::suContinue.
Here is the call graph for this function: