xrootd
|
#include <XrdClOperationHandlers.hh>
Static Public Member Functions | |
static ResponseHandler * | Create (std::function< void(XRootDStatus &, Response &)> func) |
static ResponseHandler * | Create (std::function< void(XRootDStatus &, Response &, HostList &)> func) |
template<typename Return > | |
static ResponseHandler * | Create (std::packaged_task< Return(XRootDStatus &, Response &)> &task) |
Static Public Member Functions inherited from XrdCl::RespBase< Response > | |
static ResponseHandler * | Create (ResponseHandler *hdlr) |
static ResponseHandler * | Create (ResponseHandler &hdlr) |
static ResponseHandler * | Create (std::future< Response > &ftr) |
Factory class, creates ForwardingHandler from std::function, in addition to what RespBase provides (
|
inlinestatic |
A factory method
func | : the function/functor/lambda that should be wrapped |
|
inlinestatic |
A factory method
func | : the function/functor/lambda that should be wrapped |
|
inlinestatic |