Top |
GBoxed ├── QmiMessageQosSwiReadDataStatsInput ╰── QmiMessageQosSwiReadDataStatsOutput
QmiMessageQosSwiReadDataStatsInput *
qmi_message_qos_swi_read_data_stats_input_new
(void
);
Allocates a new QmiMessageQosSwiReadDataStatsInput.
the newly created QmiMessageQosSwiReadDataStatsInput. The returned value should be freed with qmi_message_qos_swi_read_data_stats_input_unref()
.
Since: 1.22
QmiMessageQosSwiReadDataStatsInput *
qmi_message_qos_swi_read_data_stats_input_ref
(QmiMessageQosSwiReadDataStatsInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_qos_swi_read_data_stats_input_unref
(QmiMessageQosSwiReadDataStatsInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.22
gboolean qmi_message_qos_swi_read_data_stats_input_get_apn_id (QmiMessageQosSwiReadDataStatsInput *self
,guint32 *value_apn_id
,GError **error
);
Get the 'Apn Id' field from self
.
Since: 1.22
gboolean qmi_message_qos_swi_read_data_stats_input_set_apn_id (QmiMessageQosSwiReadDataStatsInput *self
,guint32 value_apn_id
,GError **error
);
Set the 'Apn Id' field in the message.
Since: 1.22
QmiMessageQosSwiReadDataStatsOutput *
qmi_message_qos_swi_read_data_stats_output_ref
(QmiMessageQosSwiReadDataStatsOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_qos_swi_read_data_stats_output_unref
(QmiMessageQosSwiReadDataStatsOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.22
gboolean qmi_message_qos_swi_read_data_stats_output_get_result (QmiMessageQosSwiReadDataStatsOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.22
gboolean qmi_message_qos_swi_read_data_stats_output_get_apn (QmiMessageQosSwiReadDataStatsOutput *self
,guint32 *value_apn_apn_id
,guint32 *value_apn_tx_packets
,guint32 *value_apn_tx_packets_dropped
,guint32 *value_apn_rx_packets
,guint64 *value_apn_tx_bytes
,guint64 *value_apn_tx_bytes_dropped
,guint64 *value_apn_rx_bytes
,GError **error
);
Get the 'Apn' field from self
.
self |
||
value_apn_apn_id |
a placeholder for the output guint32, or |
[out] |
value_apn_tx_packets |
a placeholder for the output guint32, or |
[out] |
value_apn_tx_packets_dropped |
a placeholder for the output guint32, or |
[out] |
value_apn_rx_packets |
a placeholder for the output guint32, or |
[out] |
value_apn_tx_bytes |
a placeholder for the output guint64, or |
[out] |
value_apn_tx_bytes_dropped |
a placeholder for the output guint64, or |
[out] |
value_apn_rx_bytes |
a placeholder for the output guint64, or |
[out] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_qos_swi_read_data_stats_output_get_flow (QmiMessageQosSwiReadDataStatsOutput *self
,GArray **value_flow
,GError **error
);
Get the 'Flow' field from self
.
self |
||
value_flow |
a placeholder for the output GArray of QmiMessageQosSwiReadDataStatsOutputFlowElement elements, or |
[out][element-type QmiMessageQosSwiReadDataStatsOutputFlowElement][transfer none] |
error |
Return location for error or |
Since: 1.22
void qmi_client_qos_swi_read_data_stats (QmiClientQos *self
,QmiMessageQosSwiReadDataStatsInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Swi Read Data Stats 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_qos_swi_read_data_stats_finish()
to get the result of the operation.
self |
a QmiClientQos. |
|
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.22
QmiMessageQosSwiReadDataStatsOutput * qmi_client_qos_swi_read_data_stats_finish (QmiClientQos *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_qos_swi_read_data_stats()
.
self |
a QmiClientQos. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageQosSwiReadDataStatsOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_qos_swi_read_data_stats_output_unref()
.
Since: 1.22
typedef struct _QmiMessageQosSwiReadDataStatsInput QmiMessageQosSwiReadDataStatsInput;
The QmiMessageQosSwiReadDataStatsInput structure contains private data and should only be accessed using the provided API.
Since: 1.22
typedef struct _QmiMessageQosSwiReadDataStatsOutput QmiMessageQosSwiReadDataStatsOutput;
The QmiMessageQosSwiReadDataStatsOutput structure contains private data and should only be accessed using the provided API.
Since: 1.22
typedef struct { guint32 bearer_id; guint32 tx_packets; guint32 tx_packets_dropped; guint64 tx_bytes; guint64 tx_bytes_dropped; } QmiMessageQosSwiReadDataStatsOutputFlowElement;
A QmiMessageQosSwiReadDataStatsOutputFlowElement struct.
Since: 1.22