Go to the documentation of this file. 1 #ifndef Utilities_XrdAdaptor_XrdRequest_h
2 #define Utilities_XrdAdaptor_XrdRequest_h
7 #include <boost/utility.hpp>
8 #include <XrdCl/XrdClXRootDResponses.hh>
21 class XrdReadStatistics;
23 class ClientRequest : boost::noncopyable,
public XrdCl::ResponseHandler {
~ClientRequest() override
edm::propagate_const< std::shared_ptr< Source > > m_source
std::shared_ptr< ClientRequest const > self_reference() const
std::shared_ptr< ClientRequest > & self_reference()
edm::propagate_const< std::shared_ptr< std::vector< IOPosBuffer > > > m_iolist
std::shared_ptr< Source > & getCurrentSource()
ClientRequest(RequestManager &manager, void *into, IOSize size, IOOffset off)
std::future< IOSize > get_future()
ClientRequest(RequestManager &manager, std::shared_ptr< std::vector< IOPosBuffer >> iolist, IOSize size=0)
void HandleResponse(XrdCl::XRootDStatus *status, XrdCl::AnyObject *response) override
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
edm::propagate_const< std::shared_ptr< XrdReadStatistics > > m_stats
void setStatistics(std::shared_ptr< XrdReadStatistics > stats)
std::shared_ptr< Source const > getCurrentSource() const
std::promise< IOSize > m_promise
edm::propagate_const< std::shared_ptr< ClientRequest > > m_self_reference
RequestManager & m_manager