![]() |
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 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 (
Definition at line 661 of file XrdClOperationHandlers.hh.
|
inlinestatic |
A factory method
func | : the function/functor/lambda that should be wrapped |
Definition at line 669 of file XrdClOperationHandlers.hh.
|
inlinestatic |
A factory method
func | : the function/functor/lambda that should be wrapped |
Definition at line 681 of file XrdClOperationHandlers.hh.
|
inlinestatic |
A factory method
task | : the task that should be wrapped |
Definition at line 694 of file XrdClOperationHandlers.hh.