Lines Matching refs:reactor
45 bool IOEventHandler::Start(IOEventReactor* reactor)
47 UTILS_LOGD("%{public}s: Try add handler-%{public}p to reactor-%{public}p.", \
48 __FUNCTION__, reinterpret_cast<void*>(this), reinterpret_cast<void*>(reactor));
49 ErrCode res = reactor->AddHandler(this);
58 bool IOEventHandler::Stop(IOEventReactor* reactor)
60 UTILS_LOGD("%{public}s: Try remove handler-%{public}p from reactor-%{public}p.", \
61 __FUNCTION__, reinterpret_cast<void*>(this), reinterpret_cast<void*>(reactor));
62 ErrCode res = reactor->RemoveHandler(this);
71 bool IOEventHandler::Update(IOEventReactor* reactor)
73 UTILS_LOGD("%{public}s: Try update handler-%{public}p to reactor-%{public}p.", \
74 __FUNCTION__, reinterpret_cast<void*>(this), reinterpret_cast<void*>(reactor));
75 ErrCode res = reactor->UpdateHandler(this);