ModemManager.GdbusModem3gppUssd¶
| Implementations: | |
|---|---|
| ModemManager.GdbusModem3gppUssdProxy,ModemManager.GdbusModem3gppUssdSkeleton | |
Methods¶
| class | interface_info() | 
| class | override_properties(klass, property_id_begin) | 
| call_cancel(cancellable, callback, *user_data) | |
| call_cancel_finish(res) | |
| call_cancel_sync(cancellable) | |
| call_initiate(arg_command, cancellable, callback, *user_data) | |
| call_initiate_finish(res) | |
| call_initiate_sync(arg_command, cancellable) | |
| call_respond(arg_response, cancellable, callback, *user_data) | |
| call_respond_finish(res) | |
| call_respond_sync(arg_response, cancellable) | |
| complete_cancel(invocation) | |
| complete_initiate(invocation, reply) | |
| complete_respond(invocation, reply) | 
Virtual Methods¶
| do_handle_cancel(invocation) | |
| do_handle_initiate(invocation, arg_command) | |
| do_handle_respond(invocation, arg_response) | 
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| network-notification | str | r/w | NetworkNotification | 
| network-request | str | r/w | NetworkRequest | 
| state | int | r/w | State | 
Signals¶
| Name | Short Description | 
|---|---|
| handle-cancel | Signal emitted when a remote caller is invoking the ‘Cancel() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Cancel]’ D-Bus method. | 
| handle-initiate | Signal emitted when a remote caller is invoking the ‘Initiate() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Initiate]’ D-Bus method. | 
| handle-respond | Signal emitted when a remote caller is invoking the ‘Respond() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Respond]’ D-Bus method. | 
Fields¶
None
Class Details¶
- 
class ModemManager.GdbusModem3gppUssd¶
- Bases: - GObject.GInterface- Structure: - ModemManager.GdbusModem3gppUssdIface- Abstract interface type for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd [gdbus-interface-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.top_of_page]’. - 
classmethod interface_info()¶
- Returns: - A - Gio.DBusInterfaceInfo. Do not free.- Return type: - Gio.DBusInterfaceInfo- Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd [gdbus-interface-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.top_of_page]’ D-Bus interface. 
 - 
classmethod override_properties(klass, property_id_begin)¶
- Parameters: - klass (GObject.ObjectClass) – The class structure for aGObject.Objectderived class.
- property_id_begin (int) – The property id to assign to the first overridden property.
 - Returns: - The last property id. - Return type: - Overrides all - GObject.Objectproperties in the- ModemManager.GdbusModem3gppUssdinterface for a concrete class. The properties are overridden in the order they are defined.
- klass (
 - 
call_cancel(cancellable, callback, *user_data)¶
- Parameters: - cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - Asynchronously invokes the ‘Cancel() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Cancel]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see - GLib.MainContext.push_thread_default()). You can then call- ModemManager.GdbusModem3gppUssd.call_cancel_finish() to get the result of the operation.- See - ModemManager.GdbusModem3gppUssd.call_cancel_sync() for the synchronous, blocking version of this method.
- cancellable (
 - 
call_cancel_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModem3gppUssd.call_cancel().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- Return type: - bool- Finishes an operation started with - ModemManager.GdbusModem3gppUssd.call_cancel().
 - 
call_cancel_sync(cancellable)¶
- Parameters: - cancellable ( - Gio.Cancellableor- None) – A- Gio.Cancellableor- None.- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- Return type: - bool- Synchronously invokes the ‘Cancel() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Cancel]’ D-Bus method on self. The calling thread is blocked until a reply is received. - See - ModemManager.GdbusModem3gppUssd.call_cancel() for the asynchronous version of this method.
 - 
call_initiate(arg_command, cancellable, callback, *user_data)¶
- Parameters: - arg_command (str) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - Asynchronously invokes the ‘Initiate() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Initiate]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see - GLib.MainContext.push_thread_default()). You can then call- ModemManager.GdbusModem3gppUssd.call_initiate_finish() to get the result of the operation.- See - ModemManager.GdbusModem3gppUssd.call_initiate_sync() for the synchronous, blocking version of this method.
- arg_command (
 - 
call_initiate_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModem3gppUssd.call_initiate().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- out_reply: - Return location for return parameter or - Noneto ignore.- Return type: - ( - bool, out_reply:- str)- Finishes an operation started with - ModemManager.GdbusModem3gppUssd.call_initiate().
 - 
call_initiate_sync(arg_command, cancellable)¶
- Parameters: - arg_command (str) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - Trueif the call succeeded,- Falseif error is set.- out_reply: - Return location for return parameter or - Noneto ignore.- Return type: - Synchronously invokes the ‘Initiate() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Initiate]’ D-Bus method on self. The calling thread is blocked until a reply is received. - See - ModemManager.GdbusModem3gppUssd.call_initiate() for the asynchronous version of this method.
- arg_command (
 - 
call_respond(arg_response, cancellable, callback, *user_data)¶
- Parameters: - arg_response (str) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - Asynchronously invokes the ‘Respond() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Respond]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see - GLib.MainContext.push_thread_default()). You can then call- ModemManager.GdbusModem3gppUssd.call_respond_finish() to get the result of the operation.- See - ModemManager.GdbusModem3gppUssd.call_respond_sync() for the synchronous, blocking version of this method.
- arg_response (
 - 
call_respond_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModem3gppUssd.call_respond().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- out_reply: - Return location for return parameter or - Noneto ignore.- Return type: - ( - bool, out_reply:- str)- Finishes an operation started with - ModemManager.GdbusModem3gppUssd.call_respond().
 - 
call_respond_sync(arg_response, cancellable)¶
- Parameters: - arg_response (str) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - Trueif the call succeeded,- Falseif error is set.- out_reply: - Return location for return parameter or - Noneto ignore.- Return type: - Synchronously invokes the ‘Respond() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Respond]’ D-Bus method on self. The calling thread is blocked until a reply is received. - See - ModemManager.GdbusModem3gppUssd.call_respond() for the asynchronous version of this method.
- arg_response (
 - 
complete_cancel(invocation)¶
- Parameters: - invocation ( - Gio.DBusMethodInvocation) – A- Gio.DBusMethodInvocation.- Helper function used in service implementations to finish handling invocations of the ‘Cancel() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Cancel]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - This method will free invocation, you cannot use it afterwards. 
 - 
complete_initiate(invocation, reply)¶
- Parameters: - invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- reply (str) – Parameter to return.
 - Helper function used in service implementations to finish handling invocations of the ‘Initiate() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Initiate]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - This method will free invocation, you cannot use it afterwards. 
- invocation (
 - 
complete_respond(invocation, reply)¶
- Parameters: - invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- reply (str) – Parameter to return.
 - Helper function used in service implementations to finish handling invocations of the ‘Respond() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Respond]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. - This method will free invocation, you cannot use it afterwards. 
- invocation (
 - 
do_handle_cancel(invocation) virtual¶
- Parameters: - invocation ( - Gio.DBusMethodInvocation) –- Return type: - bool
 - 
do_handle_initiate(invocation, arg_command) virtual¶
- Parameters: - invocation (Gio.DBusMethodInvocation) –
- arg_command (str) –
 - Return type: 
- invocation (
 - 
do_handle_respond(invocation, arg_response) virtual¶
- Parameters: - invocation (Gio.DBusMethodInvocation) –
- arg_response (str) –
 - Return type: 
- invocation (
 
- 
classmethod 
Signal Details¶
- 
ModemManager.GdbusModem3gppUssd.signals.handle_cancel(gdbus_modem3gpp_ussd, invocation)¶
- Signal Name: - handle-cancel- Flags: - Parameters: - gdbus_modem3gpp_ussd (ModemManager.GdbusModem3gppUssd) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - Signal emitted when a remote caller is invoking the ‘Cancel() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Cancel]’ D-Bus method. - If a signal handler returns - True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call- ModemManager.GdbusModem3gppUssd.complete_cancel() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem3gpp_ussd (
- 
ModemManager.GdbusModem3gppUssd.signals.handle_initiate(gdbus_modem3gpp_ussd, invocation, arg_command)¶
- Signal Name: - handle-initiate- Flags: - Parameters: - gdbus_modem3gpp_ussd (ModemManager.GdbusModem3gppUssd) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- arg_command (str) – Argument passed by remote caller.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - Signal emitted when a remote caller is invoking the ‘Initiate() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Initiate]’ D-Bus method. - If a signal handler returns - True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call- ModemManager.GdbusModem3gppUssd.complete_initiate() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem3gpp_ussd (
- 
ModemManager.GdbusModem3gppUssd.signals.handle_respond(gdbus_modem3gpp_ussd, invocation, arg_response)¶
- Signal Name: - handle-respond- Flags: - Parameters: - gdbus_modem3gpp_ussd (ModemManager.GdbusModem3gppUssd) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- arg_response (str) – Argument passed by remote caller.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - Signal emitted when a remote caller is invoking the ‘Respond() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Respond]’ D-Bus method. - If a signal handler returns - True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call- ModemManager.GdbusModem3gppUssd.complete_respond() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem3gpp_ussd (
Property Details¶
- 
ModemManager.GdbusModem3gppUssd.props.network_notification¶
- Name: - network-notification- Type: - str- Default Value: - None- Flags: - READABLE,- WRITABLE- Represents the D-Bus property ‘“NetworkNotification” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.NetworkNotification]’. - Since the D-Bus property for this - GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- 
ModemManager.GdbusModem3gppUssd.props.network_request¶
- Name: - network-request- Type: - str- Default Value: - None- Flags: - READABLE,- WRITABLE- Represents the D-Bus property ‘“NetworkRequest” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.NetworkRequest]’. - Since the D-Bus property for this - GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- 
ModemManager.GdbusModem3gppUssd.props.state¶
- Name: - state- Type: - int- Default Value: - 0- Flags: - READABLE,- WRITABLE- Represents the D-Bus property ‘“State” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.State]’. - Since the D-Bus property for this - GObject.Objectproperty is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.