libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageWdsGetPacketStatisticsInput; QmiMessageWdsGetPacketStatisticsOutput; QmiMessageWdsGetPacketStatisticsInput * qmi_message_wds_get_packet_statistics_input_new (void
); QmiMessageWdsGetPacketStatisticsInput * qmi_message_wds_get_packet_statistics_input_ref (QmiMessageWdsGetPacketStatisticsInput *self
); void qmi_message_wds_get_packet_statistics_input_unref (QmiMessageWdsGetPacketStatisticsInput *self
); gboolean qmi_message_wds_get_packet_statistics_input_get_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag *mask
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_input_set_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag mask
,GError **error
); QmiMessageWdsGetPacketStatisticsOutput * qmi_message_wds_get_packet_statistics_output_ref (QmiMessageWdsGetPacketStatisticsOutput *self
); void qmi_message_wds_get_packet_statistics_output_unref (QmiMessageWdsGetPacketStatisticsOutput *self
); gboolean qmi_message_wds_get_packet_statistics_output_get_result (QmiMessageWdsGetPacketStatisticsOutput *self
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_packets_ok
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_packets_ok
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_error (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_packets_error
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_error (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_packets_error
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_tx_overflows (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_overflows
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_rx_overflows (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_overflows
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_tx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *tx_bytes_ok
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_rx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *rx_bytes_ok
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_last_call_tx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *last_call_tx_bytes_ok
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_last_call_rx_bytes_ok (QmiMessageWdsGetPacketStatisticsOutput *self
,guint64 *last_call_rx_bytes_ok
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_tx_packets_dropped (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *tx_packets_dropped
,GError **error
); gboolean qmi_message_wds_get_packet_statistics_output_get_rx_packets_dropped (QmiMessageWdsGetPacketStatisticsOutput *self
,guint32 *rx_packets_dropped
,GError **error
); void qmi_client_wds_get_packet_statistics (QmiClientWds *self
,QmiMessageWdsGetPacketStatisticsInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageWdsGetPacketStatisticsOutput * qmi_client_wds_get_packet_statistics_finish (QmiClientWds *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageWdsGetPacketStatisticsInput
GBoxed +----QmiMessageWdsGetPacketStatisticsOutput
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.
QmiMessageWdsGetPacketStatisticsInput * qmi_message_wds_get_packet_statistics_input_new
(void
);
Allocates a new QmiMessageWdsGetPacketStatisticsInput.
Returns : |
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.
|
a QmiMessageWdsGetPacketStatisticsInput. |
Returns : |
the new reference to self . |
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.
|
a QmiMessageWdsGetPacketStatisticsInput. |
gboolean qmi_message_wds_get_packet_statistics_input_get_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag *mask
,GError **error
);
Get the 'Mask' field from self
.
|
a QmiMessageWdsGetPacketStatisticsInput. |
|
a placeholder for the output QmiWdsPacketStatisticsMaskFlag, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_packet_statistics_input_set_mask (QmiMessageWdsGetPacketStatisticsInput *self
,QmiWdsPacketStatisticsMaskFlag mask
,GError **error
);
Set the 'Mask' field in the message.
|
a QmiMessageWdsGetPacketStatisticsInput. |
|
a QmiWdsPacketStatisticsMaskFlag. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageWdsGetPacketStatisticsOutput * qmi_message_wds_get_packet_statistics_output_ref
(QmiMessageWdsGetPacketStatisticsOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageWdsGetPacketStatisticsOutput. |
Returns : |
the new reference to self . |
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.
|
a QmiMessageWdsGetPacketStatisticsOutput. |
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.
|
a QmiClientWds. |
|
a QmiMessageWdsGetPacketStatisticsInput. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL . |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback . |
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()
.
|
a QmiClientWds. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wds_get_packet_statistics() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageWdsGetPacketStatisticsOutput, or NULL if error is set. The returned value should be freed with qmi_message_wds_get_packet_statistics_output_unref() . |