PHP 8.1.28 Released!

The ZMQDevice class

(PECL zmq >= 0.5.0)


Class synopsis

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

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top