/** * @override * @inheritDoc */ public function cancel() { $this->timer->cancel(); }
/** * Stop time register. * * @see ZmqModel::startTimeRegister */ private function stopTimeRegister() { if ($this->rTimer !== null) { $this->rTimer->cancel(); $this->rTimer = null; $this->connectionPool->resetNow(); } }
/** * */ private function unregisterPeriodicTimers() { if ($this->reqsHelperTimer !== null) { $this->reqsHelperTimer->cancel(); } if ($this->repsHelperTimer !== null) { $this->repsHelperTimer->cancel(); } }