1 #ifndef Utilities_XrdAdaptor_XrdRequest_h
2 #define Utilities_XrdAdaptor_XrdRequest_h
7 #include <XrdCl/XrdClXRootDResponses.hh>
14 namespace XrdAdaptor {
20 class XrdReadStatistics;
ClientRequest(RequestManager &manager, void *into, IOSize size, IOOffset off)
edm::storage::IOSize IOSize
std::shared_ptr< Source > & getCurrentSource()
ClientRequest(RequestManager &manager, std::shared_ptr< std::vector< IOPosBuffer >> iolist, IOSize size=0)
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
edm::storage::IOOffset IOOffset
edm::propagate_const< std::shared_ptr< ClientRequest > > m_self_reference
std::future< edm::storage::IOSize > get_future()
edm::propagate_const< std::shared_ptr< XrdReadStatistics > > m_stats
ClientRequest(const ClientRequest &)=delete
std::promise< edm::storage::IOSize > m_promise
edm::storage::IOOffset m_off
std::shared_ptr< ClientRequest > & self_reference()
ClientRequest & operator=(const ClientRequest &)=delete
~ClientRequest() override
std::shared_ptr< ClientRequest const > self_reference() const
edm::storage::IOSize m_size
RequestManager & m_manager
void setStatistics(std::shared_ptr< XrdReadStatistics > stats)
edm::storage::IOSize getSize() const
edm::propagate_const< std::shared_ptr< std::vector< edm::storage::IOPosBuffer > > > m_iolist
std::shared_ptr< Source const > getCurrentSource() const
edm::propagate_const< std::shared_ptr< Source > > m_source
tuple size
Write out results.
void HandleResponse(XrdCl::XRootDStatus *status, XrdCl::AnyObject *response) override