downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

gupnp_service_proxy_action_get> <gupnp_service_introspection_get_state_variable
[edit] Last updated: Fri, 24 May 2013

view this page in

gupnp_service_notify

(PECL gupnp >= 0.1.0)

gupnp_service_notifyLanza notificación a los clientes en escucha

Descripción

bool gupnp_service_notify ( resource $service , string $name , int $type , mixed $value )

Notifica a los clientes en escucha que la propiedad ha cambiado a un valor específico.

Parámetros

service

Un identificador de servicio.

name

El nombre de la variable.

type

El tipo de variable. El tipo puede ser uno de los siguientes valores:

GUPNP_TYPE_BOOLEAN
Este tipo de variables es boolean.
GUPNP_TYPE_INT
Este tipo de variable es integer.
GUPNP_TYPE_LONG
este tipo de variables es long.
GUPNP_TYPE_DOUBLE
Este tipo de variable es double.
GUPNP_TYPE_FLOAT
Este tipo de variable es float.
GUPNP_TYPE_STRING
Este tipo de variable es string.

value

El valor de la variable.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Errores/Excepciones

Lanza un E_WARNING tanto si el tipo de variable no está correctamente definido o el valor no corresponde al tipo definido.

Ver también



add a note add a note User Contributed Notes gupnp_service_notify - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites