ModemManager.GdbusSms¶
- Implementations:
 
Methods¶
class  | 
|
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
Class  | 
||
r/w  | 
Data  | 
||
r/w  | 
DeliveryReportRequest  | 
||
r/w  | 
DeliveryState  | 
||
r/w  | 
DischargeTimestamp  | 
||
r/w  | 
MessageReference  | 
||
r/w  | 
Number  | 
||
r/w  | 
PduType  | 
||
r/w  | 
ServiceCategory  | 
||
r/w  | 
SMSC  | 
||
r/w  | 
State  | 
||
r/w  | 
Storage  | 
||
r/w  | 
TeleserviceId  | 
||
r/w  | 
Text  | 
||
r/w  | 
Timestamp  | 
||
r/w  | 
Validity  | 
Signals¶
Name  | 
Short Description  | 
|---|---|
Signal emitted when a remote caller is invoking the ‘Send() [gdbus-method-org-freedesktop-ModemManager1-Sms.Send]’ D-Bus method.  | 
|
Signal emitted when a remote caller is invoking the ‘Store() [gdbus-method-org-freedesktop-ModemManager1-Sms.Store]’ D-Bus method.  | 
Fields¶
None
Class Details¶
- class ModemManager.GdbusSms¶
 - Bases:
 - Structure:
 
Abstract interface type for the D-Bus interface ‘org.freedesktop.ModemManager1.Sms [gdbus-interface-org-freedesktop-ModemManager1-Sms.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.Sms [gdbus-interface-org-freedesktop-ModemManager1-Sms.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.GdbusSmsinterface for a concrete class. The properties are overridden in the order they are defined.
- call_send(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 ‘Send() [gdbus-method-org-freedesktop-ModemManager1-Sms.Send]’ 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.GdbusSms.call_send_finish() to get the result of the operation.See
ModemManager.GdbusSms.call_send_sync() for the synchronous, blocking version of this method.
- call_send_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusSms.call_send().- Raises:
 - Returns:
 - Return type:
 
Finishes an operation started with
ModemManager.GdbusSms.call_send().
- call_send_sync(cancellable)¶
 - Parameters:
 cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
 - Returns:
 - Return type:
 
Synchronously invokes the ‘Send() [gdbus-method-org-freedesktop-ModemManager1-Sms.Send]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusSms.call_send() for the asynchronous version of this method.
- call_store(arg_storage, cancellable, callback, *user_data)¶
 - Parameters:
 arg_storage (
int) – 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 ‘Store() [gdbus-method-org-freedesktop-ModemManager1-Sms.Store]’ 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.GdbusSms.call_store_finish() to get the result of the operation.See
ModemManager.GdbusSms.call_store_sync() for the synchronous, blocking version of this method.
- call_store_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusSms.call_store().- Raises:
 - Returns:
 - Return type:
 
Finishes an operation started with
ModemManager.GdbusSms.call_store().
- call_store_sync(arg_storage, cancellable)¶
 - Parameters:
 arg_storage (
int) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
 - Returns:
 - Return type:
 
Synchronously invokes the ‘Store() [gdbus-method-org-freedesktop-ModemManager1-Sms.Store]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusSms.call_store() for the asynchronous version of this method.
- complete_send(invocation)¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘Send() [gdbus-method-org-freedesktop-ModemManager1-Sms.Send]’ 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_store(invocation)¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘Store() [gdbus-method-org-freedesktop-ModemManager1-Sms.Store]’ 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_send(invocation) virtual¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) –- Return type:
 
Handler for the
ModemManager.GdbusSms::handle-sendsignal.
- do_handle_store(invocation, arg_storage) virtual¶
 - Parameters:
 invocation (
Gio.DBusMethodInvocation) –arg_storage (
int) –
- Return type:
 
Handler for the
ModemManager.GdbusSms::handle-storesignal.
Signal Details¶
- ModemManager.GdbusSms.signals.handle_send(gdbus_sms, invocation)¶
 - Signal Name:
 handle-send- Flags:
 - Parameters:
 gdbus_sms (
ModemManager.GdbusSms) – 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 ‘Send() [gdbus-method-org-freedesktop-ModemManager1-Sms.Send]’ 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.GdbusSms.complete_send() 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.GdbusSms.signals.handle_store(gdbus_sms, invocation, arg_storage)¶
 - Signal Name:
 handle-store- Flags:
 - Parameters:
 gdbus_sms (
ModemManager.GdbusSms) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_storage (
int) – 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 ‘Store() [gdbus-method-org-freedesktop-ModemManager1-Sms.Store]’ 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.GdbusSms.complete_store() 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.GdbusSms.props.class_¶
 - 
Represents the D-Bus property ‘“Class” [gdbus-property-org-freedesktop-ModemManager1-Sms.Class]’.
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.GdbusSms.props.data¶
 - Name:
 data- Type:
 - Default Value:
 - Flags:
 
Represents the D-Bus property ‘“Data” [gdbus-property-org-freedesktop-ModemManager1-Sms.Data]’.
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.GdbusSms.props.delivery_report_request¶
 - 
Represents the D-Bus property ‘“DeliveryReportRequest” [gdbus-property-org-freedesktop-ModemManager1-Sms.DeliveryReportRequest]’.
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.GdbusSms.props.delivery_state¶
 - 
Represents the D-Bus property ‘“DeliveryState” [gdbus-property-org-freedesktop-ModemManager1-Sms.DeliveryState]’.
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.GdbusSms.props.discharge_timestamp¶
 - 
Represents the D-Bus property ‘“DischargeTimestamp” [gdbus-property-org-freedesktop-ModemManager1-Sms.DischargeTimestamp]’.
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.GdbusSms.props.message_reference¶
 - 
Represents the D-Bus property ‘“MessageReference” [gdbus-property-org-freedesktop-ModemManager1-Sms.MessageReference]’.
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.GdbusSms.props.number¶
 - 
Represents the D-Bus property ‘“Number” [gdbus-property-org-freedesktop-ModemManager1-Sms.Number]’.
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.GdbusSms.props.pdu_type¶
 - 
Represents the D-Bus property ‘“PduType” [gdbus-property-org-freedesktop-ModemManager1-Sms.PduType]’.
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.GdbusSms.props.service_category¶
 - 
Represents the D-Bus property ‘“ServiceCategory” [gdbus-property-org-freedesktop-ModemManager1-Sms.ServiceCategory]’.
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.GdbusSms.props.smsc¶
 - 
Represents the D-Bus property ‘“SMSC” [gdbus-property-org-freedesktop-ModemManager1-Sms.SMSC]’.
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.GdbusSms.props.state¶
 - 
Represents the D-Bus property ‘“State” [gdbus-property-org-freedesktop-ModemManager1-Sms.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. 
- ModemManager.GdbusSms.props.storage¶
 - 
Represents the D-Bus property ‘“Storage” [gdbus-property-org-freedesktop-ModemManager1-Sms.Storage]’.
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.GdbusSms.props.teleservice_id¶
 - 
Represents the D-Bus property ‘“TeleserviceId” [gdbus-property-org-freedesktop-ModemManager1-Sms.TeleserviceId]’.
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.GdbusSms.props.text¶
 - 
Represents the D-Bus property ‘“Text” [gdbus-property-org-freedesktop-ModemManager1-Sms.Text]’.
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.GdbusSms.props.timestamp¶
 - 
Represents the D-Bus property ‘“Timestamp” [gdbus-property-org-freedesktop-ModemManager1-Sms.Timestamp]’.
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.GdbusSms.props.validity¶
 - Name:
 validity- Type:
 - Default Value:
 - Flags:
 
Represents the D-Bus property ‘“Validity” [gdbus-property-org-freedesktop-ModemManager1-Sms.Validity]’.
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.