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(RequestManager &manager, void *into, IOSize size, IOOffset off)
std::shared_ptr< Source > & getCurrentSource()
edm::propagate_const< std::shared_ptr< std::vector< IOPosBuffer > > > m_iolist
edm::propagate_const< std::shared_ptr< ClientRequest > > m_self_reference
edm::propagate_const< std::shared_ptr< XrdReadStatistics > > m_stats
std::shared_ptr< ClientRequest > & self_reference()
std::future< IOSize > get_future()
std::shared_ptr< ClientRequest const > self_reference() const
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
RequestManager & m_manager
void setStatistics(std::shared_ptr< XrdReadStatistics > stats)
ClientRequest(RequestManager &manager, std::shared_ptr< std::vector< IOPosBuffer > > iolist, IOSize size=0)
std::shared_ptr< Source const > getCurrentSource() const
edm::propagate_const< std::shared_ptr< Source > > m_source
std::promise< IOSize > m_promise
virtual void HandleResponse(XrdCl::XRootDStatus *status, XrdCl::AnyObject *response) override