Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ZMQPollExceptionZMQDevice::__construct>
^0MQ messagingLast updated: Mon, 26 Oct 2026

The ZMQDevice class

(PECL zmq >= 0.5.0)

Introduction

Class synopsis

class ZMQDevice {
/* Methods */
public function __construct(ZMQSocket $frontend, ZMQSocket $backend, ZMQSocket $listener = ?)
public function getIdleTimeout(): ZMQDevice
public function getTimerTimeout(): ZMQDevice
public function run(): void
public function setIdleCallback(callable $cb_func, int $timeout, mixed $user_data = ?): ZMQDevice
public function setIdleTimeout(int $timeout): ZMQDevice
public function setTimerCallback(callable $cb_func, int $timeout, mixed $user_data = ?): ZMQDevice
public function setTimerTimeout(int $timeout): ZMQDevice
}

Table of Contents


<ZMQPollExceptionZMQDevice::__construct>
^0MQ messagingLast updated: Mon, 26 Oct 2026