PHP 8.1.0 RC 2 available for testing

The ZMQDevice class

(PECL zmq >= 0.5.0)

Introduction

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 add a note

User Contributed Notes

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