xrootd
|
Handle an async response. More...
#include <XrdClXRootDResponses.hh>
Public Member Functions | |
virtual | ~ResponseHandler () |
virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
virtual void | HandleResponse (XRootDStatus *status, AnyObject *response) |
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.
|
inlinevirtual |
|
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::FutureWrapper< void >, XrdCl::FutureWrapper< Response >, XrdCl::ExOpenFuncWrapper, XrdCl::TaskWrapper< void, Return >, XrdCl::TaskWrapper< Response, Return >, XrdCl::FunctionWrapper< void >, XrdCl::FunctionWrapper< Response >, XrdCl::ZipListHandler, XrdPosixFile, XrdCl::PipelineHandler, XrdCl::UnpackXAttr, XrdCl::ZipCache::ReadHandler, XrdCl::SyncResponseHandler, XrdPosixFileRH, XrdCl::UnpackXAttrStatus, and XrdSsiEvent.
Referenced by XrdCl::ZipCache::CallHandler(), XrdCl::EcHandler::Close(), XrdCl::UnpackXAttrStatus::HandleResponse(), XrdCl::UnpackXAttr::HandleResponse(), HandleResponseWithHosts(), and XrdCl::ZipArchive::Schedule().
|
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::RawWrapper, XrdCl::NullResponseHandler, and XrdCl::PipelineHandler.
References HandleResponse().
Referenced by XrdCl::RawWrapper::HandleResponseWithHosts(), and XrdCl::ResponseJob::Run().
|
static |
Factory function for generating handler objects from lambdas
func | : the callback, must not throw |
Referenced by XrdCl::EcHandler::Close().
|
static |
Factory function for generating handler objects from lambdas
func | : the callback, must not throw |