Lines Matching refs:reactor
151 | bool | **Start**(IOEventReactor * reactor)<br>启动当前事件监听。 |
152 | bool | **Stop**(IOEventReactor * reactor)<br>停止当前事件监听 |
153 | bool | **Update**(IOEventReactor * reactor)<br>更新当前事件状态。当指定事件类型、响应行为变化时需要对其进行更新。 |
188 | bool | **Start**(IOEventReactor * reactor)<br>启动当前事件监听。 |
189 | bool | **Stop**(IOEventReactor * reactor)<br>停止当前事件监听 |
190 | bool | **Update**(IOEventReactor * reactor)<br>更新当前事件状态。当指定事件类型、响应行为变化时需要对其进行更新。 |
220 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
221 ASSERT_EQ(reactor->SetUp(), EVENT_SYS_ERR_OK);
222 reactor->EnableHandling();
228 handler->Start(reactor.get());
231 std::thread loopThread([&reactor]{
232 reactor->Run(-1);
242 reactor->Terminate();
249 handler->Stop(reactor.get());