ServiceAction
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gupnp_service_action_get_type ()" ) ]
[ Compact ]
public class ServiceAction
Opaque structure for holding in-progress action data.
Content:
Methods:
- public void @get (...)
Retrieves the specified action arguments.
- public void @return ()
Return succesfully.
- public void @set (...)
Sets the specified action return values.
- public uint get_argument_count ()
Get the number of IN arguments from the
this and return it.
- public Value? get_gvalue (string argument, Type type)
Retrieves the value of argument
into a GValue of type
type
and returns it.
- public List<string> get_locales ()
Get an ordered (preferred first) List of
locales preferred by the client.
- public Message get_message ()
Get the Message associated with
this.
- public unowned string get_name ()
Get the name of this.
- public void get_value (string argument, ref Value value)
Retrieves the value of argument
into value
.
- public List<Value?> get_values (List<string> arg_names, List<Type?> arg_types)
A variant of
@get that uses List instead of varargs.
- public void return_error (uint error_code, string error_description)
Return error_code
.
- public void set_value (string argument, Value value)
Sets the value of argument
to value
.
- public void set_values (List<string> arg_names, List<Value?> arg_values)
Sets the specified action return values.