XrdCl::RespBase< Response > Struct Template Reference

#include <XrdClOperationHandlers.hh>

Inheritance diagram for XrdCl::RespBase< Response >:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static ResponseHandlerCreate (ResponseHandler *hdlr)
static ResponseHandlerCreate (ResponseHandler &hdlr)
static ResponseHandlerCreate (std::future< Response > &ftr)

Detailed Description

template<typename Response>
struct XrdCl::RespBase< Response >

A base class for factories, creates ForwardingHandlers from ResponseHandler*, ResponseHandler& and std::future<Response>


Member Function Documentation

template<typename Response>
static ResponseHandler* XrdCl::RespBase< Response >::Create ( std::future< Response > &  ftr  )  [inline, static]

A factory method

  • Response : response type
    Parameters:
    ftr : the std::future that should be wrapped
template<typename Response>
static ResponseHandler* XrdCl::RespBase< Response >::Create ( ResponseHandler hdlr  )  [inline, static]

A factory method, simply forwards the given handler

Parameters:
h : the ResponseHandler that should be wrapped
Returns:
: a ForwardingHandler instance
template<typename Response>
static ResponseHandler* XrdCl::RespBase< Response >::Create ( ResponseHandler hdlr  )  [inline, static]

A factory method, simply forwards the given handler

Parameters:
h : the ResponseHandler that should be wrapped
Returns:
: a ForwardingHandler instance

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 5 Feb 2020 for xrootd by  doxygen 1.6.1