gupnp_service_proxy_callback_set
(PECL gupnp >= 0.1.0)
gupnp_service_proxy_callback_set — Set service proxy callback for signal
说明
gupnp_service_proxy_callback_set
( resource
$proxy
, int $signal
, mixed $callback
[, mixed $arg
] ) : boolSet service proxy callback for signal.
参数
-
proxy -
A service proxy identifier.
-
signal -
The value of signal.
-
GUPNP_SIGNAL_SUBSCRIPTION_LOST - Emitted whenever the subscription to this service has been lost due to an error condition.
-
-
callback -
The callback function for the certain signal. Typically, callback function takes on two parameters.
errorparameter's message being the first, and theargis second. -
arg -
User data for
callback.
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE。
错误/异常
Issues E_WARNING either with not valid callback function or with not valid signal.
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/function.gupnp-service-proxy-callback-set.php