ModemManager.GdbusModem3gppUssd¶
- Implementations:
 ModemManager.GdbusModem3gppUssdProxy,ModemManager.GdbusModem3gppUssdSkeleton
Methods¶
class  | 
|
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
|
  | 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
NetworkNotification  | 
||
r/w  | 
NetworkRequest  | 
||
r/w  | 
State  | 
Signals¶
Name  | 
Short Description  | 
|---|---|
Signal emitted when a remote caller is invoking the ‘Cancel() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Cancel]’ D-Bus method.  | 
|
Signal emitted when a remote caller is invoking the ‘Initiate() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.Initiate]’ D-Bus method.  | 
|
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:
 - Structure:
 
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:
 
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 theModemManager.GdbusModem3gppUssdinterface for a concrete class. The properties are overridden in the order they are defined.
- call_cancel(cancellable, callback, *user_data)¶
 - Parameters:
 cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
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 callModemManager.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.
- call_cancel_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusModem3gppUssd.call_cancel().- Raises:
 - Returns:
 - Return type:
 
Finishes an operation started with
ModemManager.GdbusModem3gppUssd.call_cancel().
- call_cancel_sync(cancellable)¶
 - Parameters:
 cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
 - Returns:
 - Return type:
 
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.
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 callModemManager.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.
- call_initiate_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusModem3gppUssd.call_initiate().- Raises:
 - Returns:
 Trueif the call succeeded,Falseif error is set.- out_reply:
 Return location for return parameter or
Noneto ignore.
- Return type:
 
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.
- 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.
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 callModemManager.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.
- call_respond_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusModem3gppUssd.call_respond().- Raises:
 - Returns:
 Trueif the call succeeded,Falseif error is set.- out_reply:
 Return location for return parameter or
Noneto ignore.
- Return type:
 
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.
- complete_cancel(invocation)¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) – AGio.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.
- 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.
- do_handle_cancel(invocation) virtual¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) –- Return type:
 
Handler for the
ModemManager.GdbusModem3gppUssd::handle-cancelsignal.
- do_handle_initiate(invocation, arg_command) virtual¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) –arg_command (
str) –
- Return type:
 
Handler for the
ModemManager.GdbusModem3gppUssd::handle-initiatesignal.
- do_handle_respond(invocation, arg_response) virtual¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) –arg_response (
str) –
- Return type:
 
Handler for the
ModemManager.GdbusModem3gppUssd::handle-respondsignal.
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 signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
 Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto 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 callModemManager.GdbusModem3gppUssd.complete_cancel() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_command (
str) – Argument passed by remote caller.
- Returns:
 Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto 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 callModemManager.GdbusModem3gppUssd.complete_initiate() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_response (
str) – Argument passed by remote caller.
- Returns:
 Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto 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 callModemManager.GdbusModem3gppUssd.complete_respond() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHODerror is returned.
Property Details¶
- ModemManager.GdbusModem3gppUssd.props.network_notification¶
 - 
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¶
 - 
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¶
 - 
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.