GUPnP.ServiceAction – gupnp-1.6 Reference Manual
Packages
gupnp-1.6
GUPnP
ServiceAction
@get
@set
get_argument_count
get_gvalue
get_locales
get_message
get_name
get_value
get_values
return_error
return_success
set_value
set_values
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.
Namespace:
GUPnP
Package:
gupnp-1.6
Content:
Methods:
public
void
@get
(...)
Retrieves the specified action arguments.
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
ServerMessage
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
return_success
()
Return successfully.
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.