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()
.
QmiMessageWdsGetPacketStatisticsInput *
qmi_message_wds_get_packet_statistics_input_ref
(QmiMessageWdsGetPacketStatisticsInput *self
);
Atomically increments the reference count of self
by one.
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.
gboolean qmi_message_wds_get_packet_statistics_input_get_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag *mask
,GError **error
);
Get the 'Mask' field from self
.
self |
||
mask |
a placeholder for the output QmiWdsPacketStatisticsMaskFlag, or |
|
error |
Return location for error or |
gboolean qmi_message_wds_get_packet_statistics_input_set_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag mask
,GError **error
);
Set the 'Mask' field in the message.
QmiMessageWdsGetPacketStatisticsOutput *
qmi_message_wds_get_packet_statistics_output_ref
(QmiMessageWdsGetPacketStatisticsOutput *self
);
Atomically increments the reference count of self
by one.
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.
gboolean qmi_message_wds_get_packet_statistics_output_get_result (QmiMessageWdsGetPacketStatisticsOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_packets_ok
,GError **error
);
Get the 'Tx Packets Ok' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_packets_ok
,GError **error
);
Get the 'Rx Packets Ok' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_error (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_packets_error
,GError **error
);
Get the 'Tx Packets Error' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_error (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_packets_error
,GError **error
);
Get the 'Rx Packets Error' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_overflows (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_overflows
,GError **error
);
Get the 'Tx Overflows' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_overflows (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_overflows
,GError **error
);
Get the 'Rx Overflows' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *tx_bytes_ok
,GError **error
);
Get the 'Tx Bytes Ok' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *rx_bytes_ok
,GError **error
);
Get the 'Rx Bytes Ok' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_last_call_tx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *last_call_tx_bytes_ok
,GError **error
);
Get the 'Last Call Tx Bytes Ok' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_last_call_rx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *last_call_rx_bytes_ok
,GError **error
);
Get the 'Last Call Rx Bytes Ok' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_dropped (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_packets_dropped
,GError **error
);
Get the 'Tx Packets Dropped' field from self
.
gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_dropped (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_packets_dropped
,GError **error
);
Get the 'Rx Packets Dropped' field from self
.
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 |
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()
.
typedef struct _QmiMessageWdsGetPacketStatisticsInput QmiMessageWdsGetPacketStatisticsInput;
The QmiMessageWdsGetPacketStatisticsInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWdsGetPacketStatisticsOutput QmiMessageWdsGetPacketStatisticsOutput;
The QmiMessageWdsGetPacketStatisticsOutput structure contains private data and should only be accessed using the provided API.