Qmi.ClientWms¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientWms(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientWms
structure contains private data and should only be accessed using the provided API.New in version 1.0.
- delete(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsDeleteInput
) – aQmi.MessageWmsDeleteInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Delete 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.ClientWms.delete_finish
() to get the result of the operation.New in version 1.0.
- delete_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.delete
().- Raises:
- Returns:
a
Qmi.MessageWmsDeleteOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsDeleteOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.delete
().New in version 1.0.
- get_message_protocol(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Get Message Protocol 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.ClientWms.get_message_protocol_finish
() to get the result of the operation.New in version 1.0.
- get_message_protocol_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.get_message_protocol
().- Raises:
- Returns:
a
Qmi.MessageWmsGetMessageProtocolOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsGetMessageProtocolOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.get_message_protocol
().New in version 1.0.
- get_routes(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Get Routes 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.ClientWms.get_routes_finish
() to get the result of the operation.New in version 1.0.
- get_routes_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.get_routes
().- Raises:
- Returns:
a
Qmi.MessageWmsGetRoutesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsGetRoutesOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.get_routes
().New in version 1.0.
- get_supported_messages(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Get Supported Messages 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.ClientWms.get_supported_messages_finish
() to get the result of the operation.New in version 1.14.
- get_supported_messages_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.get_supported_messages
().- Raises:
- Returns:
a
Qmi.MessageWmsGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsGetSupportedMessagesOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.get_supported_messages
().New in version 1.14.
- list_messages(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsListMessagesInput
) – aQmi.MessageWmsListMessagesInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a List Messages 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.ClientWms.list_messages_finish
() to get the result of the operation.New in version 1.0.
- list_messages_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.list_messages
().- Raises:
- Returns:
a
Qmi.MessageWmsListMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsListMessagesOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.list_messages
().New in version 1.0.
- modify_tag(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsModifyTagInput
) – aQmi.MessageWmsModifyTagInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Modify Tag 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.ClientWms.modify_tag_finish
() to get the result of the operation.New in version 1.0.
- modify_tag_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.modify_tag
().- Raises:
- Returns:
a
Qmi.MessageWmsModifyTagOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsModifyTagOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.modify_tag
().New in version 1.0.
- raw_read(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsRawReadInput
) – aQmi.MessageWmsRawReadInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Raw Read 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.ClientWms.raw_read_finish
() to get the result of the operation.New in version 1.0.
- raw_read_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.raw_read
().- Raises:
- Returns:
a
Qmi.MessageWmsRawReadOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsRawReadOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.raw_read
().New in version 1.0.
- raw_send(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsRawSendInput
) – aQmi.MessageWmsRawSendInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Raw Send 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.ClientWms.raw_send_finish
() to get the result of the operation.New in version 1.0.
- raw_send_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.raw_send
().- Raises:
- Returns:
a
Qmi.MessageWmsRawSendOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsRawSendOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.raw_send
().New in version 1.0.
- raw_write(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsRawWriteInput
) – aQmi.MessageWmsRawWriteInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Raw Write 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.ClientWms.raw_write_finish
() to get the result of the operation.New in version 1.0.
- raw_write_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.raw_write
().- Raises:
- Returns:
a
Qmi.MessageWmsRawWriteOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsRawWriteOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.raw_write
().New in version 1.0.
- reset(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Reset 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.ClientWms.reset_finish
() to get the result of the operation.New in version 1.0.
- reset_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.reset
().- Raises:
- Returns:
a
Qmi.MessageWmsResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsResetOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.reset
().New in version 1.0.
- send_ack(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsSendAckInput
) – aQmi.MessageWmsSendAckInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Send Ack 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.ClientWms.send_ack_finish
() to get the result of the operation.New in version 1.28.
- send_ack_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.send_ack
().- Raises:
- Returns:
a
Qmi.MessageWmsSendAckOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSendAckOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.send_ack
().New in version 1.28.
- send_from_memory_storage(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsSendFromMemoryStorageInput
) – aQmi.MessageWmsSendFromMemoryStorageInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Send From Memory Storage 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.ClientWms.send_from_memory_storage_finish
() to get the result of the operation.New in version 1.0.
- send_from_memory_storage_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.send_from_memory_storage
().- Raises:
- Returns:
a
Qmi.MessageWmsSendFromMemoryStorageOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSendFromMemoryStorageOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.send_from_memory_storage
().New in version 1.0.
- set_event_report(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsSetEventReportInput
) – aQmi.MessageWmsSetEventReportInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Set Event Report 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.ClientWms.set_event_report_finish
() to get the result of the operation.New in version 1.0.
- set_event_report_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.set_event_report
().- Raises:
- Returns:
a
Qmi.MessageWmsSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSetEventReportOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.set_event_report
().New in version 1.0.
- set_routes(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWmsSetRoutesInput
) – aQmi.MessageWmsSetRoutesInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously sends a Set Routes 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.ClientWms.set_routes_finish
() to get the result of the operation.New in version 1.0.
- set_routes_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWms.set_routes
().- Raises:
- Returns:
a
Qmi.MessageWmsSetRoutesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSetRoutesOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWms.set_routes
().New in version 1.0.
Signal Details¶
- Qmi.ClientWms.signals.event_report(client_wms, output)¶
- Signal Name:
event-report
- Flags:
- Parameters:
client_wms (
Qmi.ClientWms
) – The object which received the signaloutput (
Qmi.IndicationWmsEventReportOutput
) – AQmi.IndicationWmsEventReportOutput
.
The
::event-report
signal gets emitted when a ‘’Event Report [libqmi-glib-WMS-Event-Report-indication.top_of_page]’’ indication is received.New in version 1.0.
- Qmi.ClientWms.signals.smsc_address(client_wms, output)¶
- Signal Name:
smsc-address
- Flags:
- Parameters:
client_wms (
Qmi.ClientWms
) – The object which received the signaloutput (
Qmi.IndicationWmsSmscAddressOutput
) – AQmi.IndicationWmsSmscAddressOutput
.
The
::smsc-address
signal gets emitted when a ‘’SMSC Address [libqmi-glib-WMS-SMSC-Address-indication.top_of_page]’’ indication is received.New in version 1.14.