1 #ifndef SUBORDINATION_PPL_BASIC_HANDLER_HH     2 #define SUBORDINATION_PPL_BASIC_HANDLER_HH     6 #include <unistdx/io/epoll_event>     7 #include <unistdx/io/poller>     9 #include <subordination/ppl/pipeline_base.hh>    18         handle(
const sys::epoll_event& ev) {
    19             this->consume_pipe(ev.fd());
    36         operator<<(
std::ostream& out, 
const basic_handler& rhs) {
    44         consume_pipe(sys::fd_type fd) {
    48             while ((c = ::read(fd, tmp, n)) != -1) ;
    56 #endif // vim:filetype=cpp Definition: basic_handler.hh:13
 
virtual void remove(sys::event_poller &poller)
Called when the handler is removed from the poller.
Definition: basic_handler.hh:24
 
Definition: pipeline_base.hh:17
 
virtual void flush()
Flush dirty buffers (if needed).
Definition: basic_handler.hh:28