update : 2015.11.03
php.shukuma.com검색:
|
ZMQDevice::setIdleCallback(No version information available, might only be in Git) ZMQDevice::setIdleCallback — Set the idle callback function 설명
public ZMQDevice ZMQDevice::setIdleCallback
( callable
$cb_func
, integer $timeout
[, mixed $user_data
] )Sets the idle callback function. If idle timeout is defined the idle callback function shall be called if the internal poll loop times out without events. If the callback function returns false or a value that evaluates to false the device is stopped. The callback function signature is callback (mixed $user_data). 인수
반환값On success this method returns the current object. |