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 valueSYNOPSIS
mixed gupnp_service_proxy_action_get (resource $proxy, string $action, string $name, int $type)
Send action with parameters to the service exposed by proxy synchronously and get value.
- A service proxy identifier.
- An action.
- The action name.
- 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 value of the action.
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)
Check Out this Related Man Page
GUPNP_DEVICE_ACTION_CALLBACK_SET(3) 1 GUPNP_DEVICE_ACTION_CALLBACK_SET(3)gupnp_device_action_callback_set - Set device callback functionSYNOPSIS
bool gupnp_device_action_callback_set (resource $root_device, int $signal, string $action_name, mixed $callback, [mixed $arg])
Set device callback function for signal and action.
- A root device identifier, returned by gupnp_root_device_new(3).
- The value of signal. Signal can be one of the following values:
o GUPNP_SIGNAL_ACTION_INVOKED - Emitted whenever an action is invoked. Handler should process action and must call either
gupnp_service_action_return(3) or gupnp_service_action_return_error(3).
o GUPNP_SIGNAL_NOTIFY_FAILED - Emitted whenever notification of a client fails.
- The name of action.
- The callback function for the certain signal. Typically, callback function takes on three parameters. The $service parameter's
identifier being the first, $action parameter's identifier (in case GUPNP_SIGNAL_ACTION_INVOKED signal) or $error parameter's mes-
sage (in case GUPNP_SIGNAL_NOTIFY_FAILED signal) being the second, and the $arg is third.
- User data for $callback.
Returns TRUE on success or FALSE on failure.
Issues E_WARNING either with not valid callback function or with not valid signal.
SEE ALSO gupnp_root_device_new(3).
PHP Documentation Group GUPNP_DEVICE_ACTION_CALLBACK_SET(3)
I have a string type variable called "FULLSTR".
This variable has a value of "path=/type/source/logs".
I need to cut the characters after the character "=" to end of the string.
Example: the new variable "MATCHSTR" should have value like this...
So... (2 Replies)
Any idea to repeat an action to all the lines in vi...
suppose i want to delete the first word from all the lines in VI .. how would i do it ?
in general i am also looking for a way to apply a action to all the lines in VI . (6 Replies)
I have a variable (x) that holds a file name - I need to write this:
if x matches the patern *ABC* or the pattern DEF*T then
how to do that?
Also, how can i change the or test to AND test?
Thanks. (2 Replies)
I've a file like so:
Now, I want to read my file and take ex. the Media ID and the Type for each groups of Media (Media1,Media2,...,Media(n):
while read FILE
while $(FILE|cut -d: -f1)=Media$i
#here will be some test, ex:
#if Media ID < 23
... (4 Replies)
G'day guys, first post so be gentle.
I need help with some code to work out if a variable (string) contains any integers. The valid variable (string) must contain only letters.
Also need to be able to work out if a variable contains only integers.
Any help greatly appreciated. (7 Replies)
I have an array as follows:
How can I separate the array with elements starting from Space:ABC until Space: XYZ & put them in a different array & so on... (4 Replies)
Okay, probably an easy solution, but I've given up. I want to set a variable with a variable and print it in PHP. I just can't get the syntax right. As an example:
$place = "T";
$norm_t = array("4","7");
I want to use this in a for-loop. How do I echo the first number of the norm_t... (4 Replies)
Sample1 Type pattern 842 3150
Sample1 Type range 842 3150
Sample1 Type pattern 842 1127
Sample1 Type option 842 1127
Sample1 Type length 1483 1603
Sample1 Type pattern 1483 1603
Sample1 Type length 1698 1747
Sample1 Type option 1698 1747
Sample1 Type length 1868 1935
Sample1... (13 Replies)
It is not returning the value "-e" stored. Instead returns null.
I am wondering how could this happen. Please help me out.I tried all possibilities like p='-e' | p="\-e". Nothing seems to work.
:confused::confused: (10 Replies)
I have the following file. The first column is Type. Always the file will have one H and one T type in between all D type reocrds.
Need todo some validations.
D|TAB N0003107809CD2013-11-14|RYAN|FRY|7 DR|RICHMOND HILL|GA|32431|X|C95|000009999|000000001|TAB||C0001
D|TAB... (3 Replies)
Hi Folks -
Linux Version = Linux 2.6.39-400.128.17.el5uek x86_64
I have a process that determines the start and end load periods for an Oracle data load process.
The variables used are as follows follows:
They are populated like such:
However, the load requires the month to be the... (11 Replies)