« ZMQPoll::remove
ZMQDevice::__construct »
PHP Manual
0MQ 消息
The ZMQDevice class
The ZMQDevice class
(PECL zmq >= 0.5.0)
简介
类摘要
class
ZMQDevice
{
/* 方法 */
public
__construct
(
ZMQSocket
$frontend
,
ZMQSocket
$backend
,
ZMQSocket
$listener
= ?
)
public
getIdleTimeout
():
ZMQDevice
public
getTimerTimeout
():
ZMQDevice
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
}
目录
ZMQDevice::__construct
— Construct a new device
ZMQDevice::getIdleTimeout
— Get the idle timeout
ZMQDevice::getTimerTimeout
— Get the timer timeout
ZMQDevice::run
— Run the new device
ZMQDevice::setIdleCallback
— Set the idle callback function
ZMQDevice::setIdleTimeout
— Set the idle timeout
ZMQDevice::setTimerCallback
— Set the timer callback function
ZMQDevice::setTimerTimeout
— Set the timer timeout