xrootd
|
#include <XrdClOperationHandlers.hh>
Public Member Functions | |
FunctionWrapper (std::function< void(XRootDStatus &, ResponseType &)> handleFunction) | |
Constructor. More... | |
void | HandleResponse (XRootDStatus *status, AnyObject *response) |
Callback method. More... | |
![]() | |
virtual | ~ResponseHandler () |
virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
Private Attributes | |
std::function< void(XRootDStatus &, ResponseType &)> | fun |
user defined function, functor or lambda More... | |
Static Private Attributes | |
static ResponseType | nullref |
Null reference to the response (not really but acts as one) More... | |
Lambda wrapper
|
inline |
Constructor.
func | : function, functor or lambda |
|
inlinevirtual |
Callback method.
Reimplemented from XrdCl::ResponseHandler.
References XrdCl::FunctionWrapper< ResponseType >::fun, XrdCl::AnyObject::Get(), and XrdCl::FunctionWrapper< ResponseType >::nullref.
|
private |
user defined function, functor or lambda
Referenced by XrdCl::FunctionWrapper< ResponseType >::HandleResponse().
|
staticprivate |
Null reference to the response (not really but acts as one)
Referenced by XrdCl::FunctionWrapper< ResponseType >::HandleResponse().