ModemManager.GdbusModem3gpp

g GObject.GInterface GObject.GInterface ModemManager.GdbusModem3gpp ModemManager.GdbusModem3gpp GObject.GInterface->ModemManager.GdbusModem3gpp

Implementations:
 ModemManager.GdbusModem3gppProxy, ModemManager.GdbusModem3gppSkeleton

Methods

class interface_info ()
class override_properties (klass, property_id_begin)
  call_register (arg_operator_id, cancellable, callback, *user_data)
  call_register_finish (res)
  call_register_sync (arg_operator_id, cancellable)
  call_scan (cancellable, callback, *user_data)
  call_scan_finish (res)
  call_scan_sync (cancellable)
  call_set_eps_ue_mode_operation (arg_mode, cancellable, callback, *user_data)
  call_set_eps_ue_mode_operation_finish (res)
  call_set_eps_ue_mode_operation_sync (arg_mode, cancellable)
  call_set_initial_eps_bearer_settings (arg_settings, cancellable, callback, *user_data)
  call_set_initial_eps_bearer_settings_finish (res)
  call_set_initial_eps_bearer_settings_sync (arg_settings, cancellable)
  complete_register (invocation)
  complete_scan (invocation, results)
  complete_set_eps_ue_mode_operation (invocation)
  complete_set_initial_eps_bearer_settings (invocation)

Virtual Methods

  do_handle_register (invocation, arg_operator_id)
  do_handle_scan (invocation)
  do_handle_set_eps_ue_mode_operation (invocation, arg_mode)
  do_handle_set_initial_eps_bearer_settings (invocation, arg_settings)

Properties

Name Type Flags Short Description
enabled-facility-locks int r/w EnabledFacilityLocks
eps-ue-mode-operation int r/w EpsUeModeOperation
imei str r/w Imei
initial-eps-bearer str r/w InitialEpsBearer
initial-eps-bearer-settings GLib.Variant r/w InitialEpsBearerSettings
operator-code str r/w OperatorCode
operator-name str r/w OperatorName
pco GLib.Variant r/w Pco
registration-state int r/w RegistrationState
subscription-state int r/w SubscriptionState

Signals

Name Short Description
handle-register Signal emitted when a remote caller is invoking the ‘Register() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Register]’ D-Bus method.
handle-scan Signal emitted when a remote caller is invoking the ‘Scan() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Scan]’ D-Bus method.
handle-set-eps-ue-mode-operation Signal emitted when a remote caller is invoking the ‘SetEpsUeModeOperation() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetEpsUeModeOperation]’ D-Bus method.
handle-set-initial-eps-bearer-settings Signal emitted when a remote caller is invoking the ‘SetInitialEpsBearerSettings() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetInitialEpsBearerSettings]’ D-Bus method.

Fields

None

Class Details

class ModemManager.GdbusModem3gpp
Bases:GObject.GInterface
Structure:ModemManager.GdbusModem3gppIface

Abstract interface type for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem.Modem3gpp [gdbus-interface-org-freedesktop-ModemManager1-Modem-Modem3gpp.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 [gdbus-interface-org-freedesktop-ModemManager1-Modem-Modem3gpp.top_of_page]’ D-Bus interface.

classmethod override_properties(klass, property_id_begin)
Parameters:
Returns:

The last property id.

Return type:

int

Overrides all GObject.Object properties in the ModemManager.GdbusModem3gpp interface for a concrete class. The properties are overridden in the order they are defined.

call_register(arg_operator_id, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Register() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Register]’ 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.GdbusModem3gpp.call_register_finish() to get the result of the operation.

See ModemManager.GdbusModem3gpp.call_register_sync() for the synchronous, blocking version of this method.

call_register_finish(res)
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem3gpp.call_register().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

Finishes an operation started with ModemManager.GdbusModem3gpp.call_register().

call_register_sync(arg_operator_id, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘Register() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Register]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem3gpp.call_register() for the asynchronous version of this method.

call_scan(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Scan() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Scan]’ 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.GdbusModem3gpp.call_scan_finish() to get the result of the operation.

See ModemManager.GdbusModem3gpp.call_scan_sync() for the synchronous, blocking version of this method.

call_scan_finish(res)
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem3gpp.call_scan().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
out_results:Return location for return parameter or None to ignore.
Return type:(bool, out_results: GLib.Variant)

Finishes an operation started with ModemManager.GdbusModem3gpp.call_scan().

call_scan_sync(cancellable)
Parameters:cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
out_results:Return location for return parameter or None to ignore.
Return type:(bool, out_results: GLib.Variant)

Synchronously invokes the ‘Scan() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Scan]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem3gpp.call_scan() for the asynchronous version of this method.

call_set_eps_ue_mode_operation(arg_mode, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SetEpsUeModeOperation() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetEpsUeModeOperation]’ 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.GdbusModem3gpp.call_set_eps_ue_mode_operation_finish() to get the result of the operation.

See ModemManager.GdbusModem3gpp.call_set_eps_ue_mode_operation_sync() for the synchronous, blocking version of this method.

call_set_eps_ue_mode_operation_finish(res)
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem3gpp.call_set_eps_ue_mode_operation().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

Finishes an operation started with ModemManager.GdbusModem3gpp.call_set_eps_ue_mode_operation().

call_set_eps_ue_mode_operation_sync(arg_mode, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘SetEpsUeModeOperation() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetEpsUeModeOperation]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem3gpp.call_set_eps_ue_mode_operation() for the asynchronous version of this method.

call_set_initial_eps_bearer_settings(arg_settings, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SetInitialEpsBearerSettings() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetInitialEpsBearerSettings]’ 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.GdbusModem3gpp.call_set_initial_eps_bearer_settings_finish() to get the result of the operation.

See ModemManager.GdbusModem3gpp.call_set_initial_eps_bearer_settings_sync() for the synchronous, blocking version of this method.

call_set_initial_eps_bearer_settings_finish(res)
Parameters:res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem3gpp.call_set_initial_eps_bearer_settings().
Raises:GLib.Error
Returns:True if the call succeeded, False if error is set.
Return type:bool

Finishes an operation started with ModemManager.GdbusModem3gpp.call_set_initial_eps_bearer_settings().

call_set_initial_eps_bearer_settings_sync(arg_settings, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘SetInitialEpsBearerSettings() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetInitialEpsBearerSettings]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem3gpp.call_set_initial_eps_bearer_settings() for the asynchronous version of this method.

complete_register(invocation)
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘Register() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Register]’ 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_scan(invocation, results)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘Scan() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Scan]’ 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_set_eps_ue_mode_operation(invocation)
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘SetEpsUeModeOperation() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetEpsUeModeOperation]’ 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_set_initial_eps_bearer_settings(invocation)
Parameters:invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘SetInitialEpsBearerSettings() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetInitialEpsBearerSettings]’ 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_register(invocation, arg_operator_id) virtual
Parameters:
Return type:

bool

do_handle_scan(invocation) virtual
Parameters:invocation (Gio.DBusMethodInvocation) –
Return type:bool
do_handle_set_eps_ue_mode_operation(invocation, arg_mode) virtual
Parameters:
Return type:

bool

do_handle_set_initial_eps_bearer_settings(invocation, arg_settings) virtual
Parameters:
Return type:

bool

Signal Details

ModemManager.GdbusModem3gpp.signals.handle_register(gdbus_modem3gpp, invocation, arg_operator_id)
Signal Name:

handle-register

Flags:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Register() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Register]’ 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.GdbusModem3gpp.complete_register() 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_METHOD error is returned.

ModemManager.GdbusModem3gpp.signals.handle_scan(gdbus_modem3gpp, invocation)
Signal Name:

handle-scan

Flags:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Scan() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.Scan]’ 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.GdbusModem3gpp.complete_scan() 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_METHOD error is returned.

ModemManager.GdbusModem3gpp.signals.handle_set_eps_ue_mode_operation(gdbus_modem3gpp, invocation, arg_mode)
Signal Name:

handle-set-eps-ue-mode-operation

Flags:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SetEpsUeModeOperation() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetEpsUeModeOperation]’ 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.GdbusModem3gpp.complete_set_eps_ue_mode_operation() 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_METHOD error is returned.

ModemManager.GdbusModem3gpp.signals.handle_set_initial_eps_bearer_settings(gdbus_modem3gpp, invocation, arg_settings)
Signal Name:

handle-set-initial-eps-bearer-settings

Flags:

RUN_LAST

Parameters:
Returns:

True if the invocation was handled, False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SetInitialEpsBearerSettings() [gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp.SetInitialEpsBearerSettings]’ 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.GdbusModem3gpp.complete_set_initial_eps_bearer_settings() 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_METHOD error is returned.

Property Details

ModemManager.GdbusModem3gpp.props.enabled_facility_locks
Name:enabled-facility-locks
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“EnabledFacilityLocks” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.EnabledFacilityLocks]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.eps_ue_mode_operation
Name:eps-ue-mode-operation
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“EpsUeModeOperation” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.EpsUeModeOperation]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.imei
Name:imei
Type:str
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“Imei” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.Imei]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.initial_eps_bearer
Name:initial-eps-bearer
Type:str
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“InitialEpsBearer” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.InitialEpsBearer]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.initial_eps_bearer_settings
Name:initial-eps-bearer-settings
Type:GLib.Variant
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“InitialEpsBearerSettings” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.InitialEpsBearerSettings]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.operator_code
Name:operator-code
Type:str
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“OperatorCode” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.OperatorCode]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.operator_name
Name:operator-name
Type:str
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“OperatorName” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.OperatorName]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.pco
Name:pco
Type:GLib.Variant
Default Value:None
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“Pco” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.Pco]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.registration_state
Name:registration-state
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“RegistrationState” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.RegistrationState]’.

Since the D-Bus property for this GObject.Object property 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.GdbusModem3gpp.props.subscription_state
Name:subscription-state
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Represents the D-Bus property ‘“SubscriptionState” [gdbus-property-org-freedesktop-ModemManager1-Modem-Modem3gpp.SubscriptionState]’.

Since the D-Bus property for this GObject.Object property 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.