? ZMQPoll::remove
ZMQDevice::__construct ?
PHP Manual
0MQ消息系统
The ZMQDevice class
The ZMQDevice class
(PECL zmq >= 0.5.0)
简介
类摘要
ZMQDevice
{
/* Methods */
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
}
Table of Contents
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
User Contributed Notes
There are no user contributed notes for this page.