Top |
GBoxed ├── QmiMessageWdsGetPacketStatisticsInput ╰── QmiMessageWdsGetPacketStatisticsOutput
QmiMessageWdsGetPacketStatisticsInput *
qmi_message_wds_get_packet_statistics_input_new
(void
);
Allocates a new QmiMessageWdsGetPacketStatisticsInput.
the newly created QmiMessageWdsGetPacketStatisticsInput. The returned value should be freed with qmi_message_wds_get_packet_statistics_input_unref()
.
Since: 1.6
QmiMessageWdsGetPacketStatisticsInput *
qmi_message_wds_get_packet_statistics_input_ref
(QmiMessageWdsGetPacketStatisticsInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.6
void
qmi_message_wds_get_packet_statistics_input_unref
(QmiMessageWdsGetPacketStatisticsInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_input_get_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag *value_mask
,GError **error
);
Get the 'Mask' field from self
.
self |
||
value_mask |
a placeholder for the output QmiWdsPacketStatisticsMaskFlag, or |
[out] |
error |
Return location for error or |
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_input_set_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag value_mask
,GError **error
);
Set the 'Mask' field in the message.
Since: 1.6
QmiMessageWdsGetPacketStatisticsOutput *
qmi_message_wds_get_packet_statistics_output_ref
(QmiMessageWdsGetPacketStatisticsOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.6
void
qmi_message_wds_get_packet_statistics_output_unref
(QmiMessageWdsGetPacketStatisticsOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_last_call_rx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *value_last_call_rx_bytes_ok
,GError **error
);
Get the 'Last Call Rx Bytes Ok' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_last_call_tx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *value_last_call_tx_bytes_ok
,GError **error
);
Get the 'Last Call Tx Bytes Ok' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_result (QmiMessageWdsGetPacketStatisticsOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_tx_packets_ok
,GError **error
);
Get the 'Tx Packets Ok' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_rx_packets_ok
,GError **error
);
Get the 'Rx Packets Ok' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_error (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_tx_packets_error
,GError **error
);
Get the 'Tx Packets Error' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_error (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_rx_packets_error
,GError **error
);
Get the 'Rx Packets Error' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_overflows (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_tx_overflows
,GError **error
);
Get the 'Tx Overflows' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_overflows (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_rx_overflows
,GError **error
);
Get the 'Rx Overflows' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *value_tx_bytes_ok
,GError **error
);
Get the 'Tx Bytes Ok' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *value_rx_bytes_ok
,GError **error
);
Get the 'Rx Bytes Ok' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_dropped (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_tx_packets_dropped
,GError **error
);
Get the 'Tx Packets Dropped' field from self
.
Since: 1.6
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_dropped (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *value_rx_packets_dropped
,GError **error
);
Get the 'Rx Packets Dropped' field from self
.
Since: 1.6
void qmi_client_wds_get_packet_statistics (QmiClientWds *self
,QmiMessageWdsGetPacketStatisticsInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Packet Statistics 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_packet_statistics_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.6
QmiMessageWdsGetPacketStatisticsOutput * qmi_client_wds_get_packet_statistics_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wds_get_packet_statistics()
.
self |
a QmiClientWds. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWdsGetPacketStatisticsOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wds_get_packet_statistics_output_unref()
.
Since: 1.6
typedef struct _QmiMessageWdsGetPacketStatisticsInput QmiMessageWdsGetPacketStatisticsInput;
The QmiMessageWdsGetPacketStatisticsInput structure contains private data and should only be accessed using the provided API.
Since: 1.6
typedef struct _QmiMessageWdsGetPacketStatisticsOutput QmiMessageWdsGetPacketStatisticsOutput;
The QmiMessageWdsGetPacketStatisticsOutput structure contains private data and should only be accessed using the provided API.
Since: 1.6