xrootd
|
#include <XrdClOperationHandlers.hh>
Public Member Functions | |
FutureWrapper (std::future< Response > &ftr) | |
void | HandleResponse (XRootDStatus *status, AnyObject *response) |
Callback method. More... | |
![]() | |
FutureWrapperBase (std::future< Response > &ftr) | |
virtual | ~FutureWrapperBase () |
Destructor. More... | |
![]() | |
virtual | ~ResponseHandler () |
virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
Additional Inherited Members | |
![]() | |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus &, AnyObject &)> func) |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus *, AnyObject *)> func) |
![]() | |
void | SetException (const XRootDStatus &err) |
![]() | |
std::promise< Response > | prms |
promise that corresponds to the future More... | |
bool | fulfilled |
A wrapper handler for a std::promise / std::future.
|
inline |
|
inlinevirtual |
Callback method.
Reimplemented from XrdCl::ResponseHandler.
References XrdCl::errInternal, XrdCl::FutureWrapperBase< Response >::fulfilled, XrdCl::Status::IsOK(), XrdCl::FutureWrapperBase< Response >::prms, XrdCl::FutureWrapperBase< Response >::SetException(), and XrdCl::stError.