aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/interconnect/poller_tcp_unit_select.h
blob: 0c15217796130d0ee0e73a231e13b9dc7b1ab7fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "poller_tcp_unit.h"

namespace NInterconnect {
    class TPollerUnitSelect: public TPollerUnit {
    public:
        TPollerUnitSelect();
        virtual ~TPollerUnitSelect();

    private:
        virtual void ProcessRead() override;
        virtual void ProcessWrite() override;

        template <bool IsWrite>
        void Process();
    };

}