GUPNP_SERVICE_PROXY_ACTION_GET(3) 1 GUPNP_SERVICE_PROXY_ACTION_GET(3)
gupnp_service_proxy_action_get - Send action to the service and get value
SYNOPSIS
mixed gupnp_service_proxy_action_get (resource $proxy, string $action, string $name, int $type)
DESCRIPTION
Send action with parameters to the service exposed by proxy synchronously and get value.
PARAMETERS
o $proxy
- A service proxy identifier.
o $action
- An action.
o $name
- The action name.
o $type
- The type of the variable to retrieve. Type can be one of the following values:
o GUPNP_TYPE_BOOLEAN - Type of the variable is boolean.
o GUPNP_TYPE_INT - Type of the variable is integer.
o GUPNP_TYPE_LONG - Type of the variable is long.
o GUPNP_TYPE_DOUBLE - Type of the variable is double.
o GUPNP_TYPE_FLOAT - Type of the variable is float.
o GUPNP_TYPE_STRING - Type of the variable is string.
RETURN VALUES
Return value of the action.
ERRORS
/EXCEPTIONS
Issues E_WARNING with either not correctly defined type of the action or unable to send action.
SEE ALSO
gupnp_service_proxy_action_set(3), gupnp_service_proxy_send_action(3).
PHP Documentation Group GUPNP_SERVICE_PROXY_ACTION_GET(3)