| 201 | }; |
| 202 | |
| 203 | virtual int KqueueCtlDel(void* args) { |
| 204 | if (!_real_ntfy) { |
| 205 | return -1; |
| 206 | } |
| 207 | |
| 208 | int events = this->GetEvents(); |
| 209 | if (!(events & KQ_EVENT_WRITE)) { |
| 210 | return 0; |
| 211 | } |
| 212 | |
| 213 | _real_ntfy->RemoveWriteWait(this); |
| 214 | return _real_ntfy->KqueueCtlDel(args); |
| 215 | }; |
| 216 | |
| 217 | private: |
| 218 | ISessionNtfy* _real_ntfy; |
nothing calls this directly
no test coverage detected