| 669 | using TEvent = typename TBase::TEvent; |
| 670 | |
| 671 | inline void Set(void* data, SOCKET fd, int what) { |
| 672 | if (what) { |
| 673 | this->SetImpl(data, fd, what); |
| 674 | } else { |
| 675 | this->Remove(fd); |
| 676 | } |
| 677 | } |
| 678 | |
| 679 | static inline int ExtractFilter(const TEvent* event) noexcept { |
| 680 | if (TBase::ExtractStatus(event)) { |