略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ZMQDevice

2024-12-21

The ZMQDevice class

(PECL zmq >= 0.5.0)

简介

类摘要

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
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.zmqdevice.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3