#include <XrdClOperationHandlers.hh>
Public Member Functions | |
| FunctionWrapper (std::function< void(XRootDStatus &)> handleFunction) | |
| Constructor. | |
| FunctionWrapper (std::function< void(XRootDStatus &, HostList &)> handleFunction) | |
| Constructor. | |
| void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
| Callback method. | |
| Public Member Functions inherited from XrdCl::ResponseHandler | |
| virtual | ~ResponseHandler () |
| virtual void | HandleResponse (XRootDStatus *status, AnyObject *response) |
Additional Inherited Members | |
| Static Public Member Functions inherited from XrdCl::ResponseHandler | |
| static ResponseHandler * | Wrap (std::function< void(XRootDStatus &, AnyObject &)> func) |
| static ResponseHandler * | Wrap (std::function< void(XRootDStatus *, AnyObject *)> func) |
Lambda wrapper
Template specialization for responses that return no value (void)
Definition at line 215 of file XrdClOperationHandlers.hh.
|
inline |
Constructor.
| func | : function, functor or lambda (1 argument) |
Definition at line 224 of file XrdClOperationHandlers.hh.
|
inline |
Constructor.
| func | : function, functor or lambda (2 arguments) |
Definition at line 235 of file XrdClOperationHandlers.hh.
|
inlinevirtual |
Callback method.
Reimplemented from XrdCl::ResponseHandler.
Definition at line 244 of file XrdClOperationHandlers.hh.