21 #ifndef FsBroker_Lib_ClientBufferedReaderHandler_h
22 #define FsBroker_Lib_ClientBufferedReaderHandler_h
28 #include <condition_variable>
45 uint32_t buf_size, uint32_t outstanding, uint64_t start_offset,
52 size_t read(
void *buf,
size_t len);
80 #endif // FsBroker_Lib_ClientBufferedReaderHandler_h
uint64_t m_outstanding_offset
Abstract base class for application dispatch handlers registered with AsyncComm.
virtual ~ClientBufferedReaderHandler()
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
size_t read(void *buf, size_t len)
Declarations for DispatchHandler.
uint32_t m_max_outstanding
ClientBufferedReaderHandler(Client *client, uint32_t fd, uint32_t buf_size, uint32_t outstanding, uint64_t start_offset, uint64_t end_offset)
const uint8_t * m_end_ptr
std::queue< EventPtr > m_queue
std::condition_variable m_cond
virtual void handle(EventPtr &event)
Callback method.
A String class based on std::string.
Proxy class for FS broker.