Top |
WDS Get PDN Throttle Info responseWDS Get PDN Throttle Info response — Methods to manage the WDS Get PDN Throttle Info response. |
GBoxed ├── QmiMessageWdsGetPdnThrottleInfoInput ├── QmiMessageWdsGetPdnThrottleInfoOutput ╰── QmiMessageWdsGetPdnThrottleInfoOutputInfoElement
Collection of methods to create requests and parse responses of the WDS Get PDN Throttle Info message.
QmiMessageWdsGetPdnThrottleInfoInput *
qmi_message_wds_get_pdn_throttle_info_input_new
(void
);
Allocates a new QmiMessageWdsGetPdnThrottleInfoInput.
the newly created QmiMessageWdsGetPdnThrottleInfoInput. The returned value should be freed with qmi_message_wds_get_pdn_throttle_info_input_unref()
.
Since: 1.14
QmiMessageWdsGetPdnThrottleInfoInput *
qmi_message_wds_get_pdn_throttle_info_input_ref
(QmiMessageWdsGetPdnThrottleInfoInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.14
void
qmi_message_wds_get_pdn_throttle_info_input_unref
(QmiMessageWdsGetPdnThrottleInfoInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.14
gboolean qmi_message_wds_get_pdn_throttle_info_input_get_network_type (QmiMessageWdsGetPdnThrottleInfoInput *self
,QmiWdsDataSystemNetworkType *value_network_type
,GError **error
);
Get the 'Network Type' field from self
.
self |
||
value_network_type |
a placeholder for the output QmiWdsDataSystemNetworkType, or |
[out][optional] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_wds_get_pdn_throttle_info_input_set_network_type (QmiMessageWdsGetPdnThrottleInfoInput *self
,QmiWdsDataSystemNetworkType value_network_type
,GError **error
);
Set the 'Network Type' field in the message.
Since: 1.14
QmiMessageWdsGetPdnThrottleInfoOutput *
qmi_message_wds_get_pdn_throttle_info_output_ref
(QmiMessageWdsGetPdnThrottleInfoOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.14
void
qmi_message_wds_get_pdn_throttle_info_output_unref
(QmiMessageWdsGetPdnThrottleInfoOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.14
gboolean qmi_message_wds_get_pdn_throttle_info_output_get_result (QmiMessageWdsGetPdnThrottleInfoOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.14
gboolean qmi_message_wds_get_pdn_throttle_info_output_get_info (QmiMessageWdsGetPdnThrottleInfoOutput *self
,GArray **value_info
,GError **error
);
Get the 'Info' field from self
.
[skip]
self |
||
value_info |
a placeholder for the output GArray of QmiMessageWdsGetPdnThrottleInfoOutputInfoElement elements, or |
[out][optional][element-type QmiMessageWdsGetPdnThrottleInfoOutputInfoElement][transfer none] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_wds_get_pdn_throttle_info_output_get_info_gir (QmiMessageWdsGetPdnThrottleInfoOutput *self
,GPtrArray **value_info_ptr
,GError **error
);
Get the 'Info' field from self
.
Version of qmi_message_wds_get_pdn_throttle_info_output_get_info()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_wds_get_pdn_throttle_info_output_get_info]
self |
||
value_info_ptr |
a placeholder for the output array of QmiMessageWdsGetPdnThrottleInfoOutputInfoElement elements, or |
[out][optional][element-type QmiMessageWdsGetPdnThrottleInfoOutputInfoElement][transfer none] |
error |
Return location for error or |
Since: 1.32
QmiMessageWdsGetPdnThrottleInfoOutput * qmi_message_wds_get_pdn_throttle_info_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageWdsGetPdnThrottleInfoOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageWdsGetPdnThrottleInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_get_pdn_throttle_info_output_unref()
.
Since: 1.34
void qmi_client_wds_get_pdn_throttle_info (QmiClientWds *self
,QmiMessageWdsGetPdnThrottleInfoInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get PDN Throttle Info request to the device.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call qmi_client_wds_get_pdn_throttle_info_finish()
to get the result of the operation.
self |
a QmiClientWds. |
|
input |
||
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
Since: 1.14
QmiMessageWdsGetPdnThrottleInfoOutput * qmi_client_wds_get_pdn_throttle_info_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_get_pdn_throttle_info()
.
self |
a QmiClientWds. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdsGetPdnThrottleInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_get_pdn_throttle_info_output_unref()
.
Since: 1.14
typedef struct _QmiMessageWdsGetPdnThrottleInfoInput QmiMessageWdsGetPdnThrottleInfoInput;
The QmiMessageWdsGetPdnThrottleInfoInput structure contains private data and should only be accessed using the provided API.
Since: 1.14
typedef struct _QmiMessageWdsGetPdnThrottleInfoOutput QmiMessageWdsGetPdnThrottleInfoOutput;
The QmiMessageWdsGetPdnThrottleInfoOutput structure contains private data and should only be accessed using the provided API.
Since: 1.14
typedef struct { gboolean ipv4_throttled; gboolean ipv6_throttled; guint32 ipv4_throttle_time_left_ms; guint32 ipv6_throttle_time_left_ms; gchar *apn; } QmiMessageWdsGetPdnThrottleInfoOutputInfoElement;
A QmiMessageWdsGetPdnThrottleInfoOutputInfoElement struct.
Since: 1.14