| Top |
MmGdbusModem3gppMmGdbusModem3gpp — Generated C code for the org.freedesktop.ModemManager1.Modem.Modem3gpp D-Bus interface |
| guint | enabled-facility-locks | Read / Write |
| guint | eps-ue-mode-operation | Read / Write |
| gchar * | imei | Read / Write |
| gchar * | initial-eps-bearer | Read / Write |
| GVariant * | initial-eps-bearer-settings | Read / Write |
| gchar * | operator-code | Read / Write |
| gchar * | operator-name | Read / Write |
| GVariant * | pco | Read / Write |
| guint | registration-state | Read / Write |
| guint | subscription-state | Read / Write |
| gboolean | handle-register | Run Last |
| gboolean | handle-scan | Run Last |
| gboolean | handle-set-eps-ue-mode-operation | Run Last |
| gboolean | handle-set-initial-eps-bearer-settings | Run Last |
MmGdbusModem3gpp is implemented by MMModem3gpp, MmGdbusModem3gppProxy and MmGdbusModem3gppSkeleton.
This section contains code for working with the org.freedesktop.ModemManager1.Modem.Modem3gpp D-Bus interface in C.
guint
mm_gdbus_modem3gpp_get_registration_state
(MmGdbusModem3gpp *object);
Gets the value of the "RegistrationState" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
mm_gdbus_modem3gpp_get_imei (MmGdbusModem3gpp *object);
Gets the value of the "Imei" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use mm_gdbus_modem3gpp_dup_imei() if on another thread.[skip]
gchar *
mm_gdbus_modem3gpp_dup_imei (MmGdbusModem3gpp *object);
Gets a copy of the "Imei" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
mm_gdbus_modem3gpp_get_operator_code (MmGdbusModem3gpp *object);
Gets the value of the "OperatorCode" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use mm_gdbus_modem3gpp_dup_operator_code() if on another thread.[skip]
gchar *
mm_gdbus_modem3gpp_dup_operator_code (MmGdbusModem3gpp *object);
Gets a copy of the "OperatorCode" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
mm_gdbus_modem3gpp_get_operator_name (MmGdbusModem3gpp *object);
Gets the value of the "OperatorName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use mm_gdbus_modem3gpp_dup_operator_name() if on another thread.[skip]
gchar *
mm_gdbus_modem3gpp_dup_operator_name (MmGdbusModem3gpp *object);
Gets a copy of the "OperatorName" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
guint
mm_gdbus_modem3gpp_get_enabled_facility_locks
(MmGdbusModem3gpp *object);
Gets the value of the "EnabledFacilityLocks" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
guint
mm_gdbus_modem3gpp_get_subscription_state
(MmGdbusModem3gpp *object);
Gets the value of the "SubscriptionState" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
guint
mm_gdbus_modem3gpp_get_eps_ue_mode_operation
(MmGdbusModem3gpp *object);
Gets the value of the "EpsUeModeOperation" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem3gpp_get_pco (MmGdbusModem3gpp *object);
Gets the value of the "Pco" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use mm_gdbus_modem3gpp_dup_pco() if on another thread.[skip]
GVariant *
mm_gdbus_modem3gpp_dup_pco (MmGdbusModem3gpp *object);
Gets a copy of the "Pco" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
mm_gdbus_modem3gpp_get_initial_eps_bearer
(MmGdbusModem3gpp *object);
Gets the value of the "InitialEpsBearer" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use mm_gdbus_modem3gpp_dup_initial_eps_bearer() if on another thread.[skip]
gchar *
mm_gdbus_modem3gpp_dup_initial_eps_bearer
(MmGdbusModem3gpp *object);
Gets a copy of the "InitialEpsBearer" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
GVariant *
mm_gdbus_modem3gpp_get_initial_eps_bearer_settings
(MmGdbusModem3gpp *object);
Gets the value of the "InitialEpsBearerSettings" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use mm_gdbus_modem3gpp_dup_initial_eps_bearer_settings() if on another thread.[skip]
GVariant *
mm_gdbus_modem3gpp_dup_initial_eps_bearer_settings
(MmGdbusModem3gpp *object);
Gets a copy of the "InitialEpsBearerSettings" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void mm_gdbus_modem3gpp_call_register (MmGdbusModem3gpp *proxy,const gchar *arg_operator_id,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Register()proxy
.
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 mm_gdbus_modem3gpp_call_register_finish() to get the result of the operation.
See mm_gdbus_modem3gpp_call_register_sync() for the synchronous, blocking version of this method.
gboolean mm_gdbus_modem3gpp_call_register_finish (MmGdbusModem3gpp *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem3gpp_call_register().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem3gpp_call_register_sync (MmGdbusModem3gpp *proxy,const gchar *arg_operator_id,GCancellable *cancellable,GError **error);
Synchronously invokes the Register()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem3gpp_call_register() for the asynchronous version of this method.
void mm_gdbus_modem3gpp_call_scan (MmGdbusModem3gpp *proxy,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Scan()proxy
.
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 mm_gdbus_modem3gpp_call_scan_finish() to get the result of the operation.
See mm_gdbus_modem3gpp_call_scan_sync() for the synchronous, blocking version of this method.
gboolean mm_gdbus_modem3gpp_call_scan_finish (MmGdbusModem3gpp *proxy,GVariant **out_results,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem3gpp_call_scan().
proxy |
||
out_results |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem3gpp_call_scan_sync (MmGdbusModem3gpp *proxy,GVariant **out_results,GCancellable *cancellable,GError **error);
Synchronously invokes the Scan()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem3gpp_call_scan() for the asynchronous version of this method.
void mm_gdbus_modem3gpp_call_set_eps_ue_mode_operation (MmGdbusModem3gpp *proxy,guint arg_mode,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the SetEpsUeModeOperation()proxy
.
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 mm_gdbus_modem3gpp_call_set_eps_ue_mode_operation_finish() to get the result of the operation.
See mm_gdbus_modem3gpp_call_set_eps_ue_mode_operation_sync() for the synchronous, blocking version of this method.
gboolean mm_gdbus_modem3gpp_call_set_eps_ue_mode_operation_finish (MmGdbusModem3gpp *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem3gpp_call_set_eps_ue_mode_operation().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem3gpp_call_set_eps_ue_mode_operation_sync (MmGdbusModem3gpp *proxy,guint arg_mode,GCancellable *cancellable,GError **error);
Synchronously invokes the SetEpsUeModeOperation()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem3gpp_call_set_eps_ue_mode_operation() for the asynchronous version of this method.
void mm_gdbus_modem3gpp_call_set_initial_eps_bearer_settings (MmGdbusModem3gpp *proxy,GVariant *arg_settings,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the SetInitialEpsBearerSettings()proxy
.
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 mm_gdbus_modem3gpp_call_set_initial_eps_bearer_settings_finish() to get the result of the operation.
See mm_gdbus_modem3gpp_call_set_initial_eps_bearer_settings_sync() for the synchronous, blocking version of this method.
gboolean mm_gdbus_modem3gpp_call_set_initial_eps_bearer_settings_finish (MmGdbusModem3gpp *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem3gpp_call_set_initial_eps_bearer_settings().
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem3gpp_call_set_initial_eps_bearer_settings_sync (MmGdbusModem3gpp *proxy,GVariant *arg_settings,GCancellable *cancellable,GError **error);
Synchronously invokes the SetInitialEpsBearerSettings()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem3gpp_call_set_initial_eps_bearer_settings() for the asynchronous version of this method.
typedef struct _MmGdbusModem3gpp MmGdbusModem3gpp;
Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp.
struct MmGdbusModem3gppIface {
GTypeInterface parent_iface;
gboolean (*handle_register) (
MmGdbusModem3gpp *object,
GDBusMethodInvocation *invocation,
const gchar *arg_operator_id);
gboolean (*handle_scan) (
MmGdbusModem3gpp *object,
GDBusMethodInvocation *invocation);
gboolean (*handle_set_eps_ue_mode_operation) (
MmGdbusModem3gpp *object,
GDBusMethodInvocation *invocation,
guint arg_mode);
gboolean (*handle_set_initial_eps_bearer_settings) (
MmGdbusModem3gpp *object,
GDBusMethodInvocation *invocation,
GVariant *arg_settings);
guint (*get_enabled_facility_locks) (MmGdbusModem3gpp *object);
guint (*get_eps_ue_mode_operation) (MmGdbusModem3gpp *object);
const gchar * (*get_imei) (MmGdbusModem3gpp *object);
const gchar * (*get_initial_eps_bearer) (MmGdbusModem3gpp *object);
GVariant * (*get_initial_eps_bearer_settings) (MmGdbusModem3gpp *object);
const gchar * (*get_operator_code) (MmGdbusModem3gpp *object);
const gchar * (*get_operator_name) (MmGdbusModem3gpp *object);
GVariant * (*get_pco) (MmGdbusModem3gpp *object);
guint (*get_registration_state) (MmGdbusModem3gpp *object);
guint (*get_subscription_state) (MmGdbusModem3gpp *object);
};
Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp.
The parent interface. |
||
Handler for the “handle-register” signal. |
||
Handler for the “handle-scan” signal. |
||
Handler for the “handle-set-eps-ue-mode-operation” signal. |
||
Handler for the “handle-set-initial-eps-bearer-settings” signal. |
||
Getter for the “enabled-facility-locks” property. |
||
Getter for the “eps-ue-mode-operation” property. |
||
Getter for the “imei” property. |
||
Getter for the “initial-eps-bearer” property. |
||
Getter for the “initial-eps-bearer-settings” property. |
||
Getter for the “operator-code” property. |
||
Getter for the “operator-name” property. |
||
Getter for the “pco” property. |
||
Getter for the “registration-state” property. |
||
Getter for the “subscription-state” property. |
“enabled-facility-locks” property “enabled-facility-locks” guint
Represents the D-Bus property "EnabledFacilityLocks".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: 0
“eps-ue-mode-operation” property “eps-ue-mode-operation” guint
Represents the D-Bus property "EpsUeModeOperation".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: 0
“imei” property “imei” gchar *
Represents the D-Bus property "Imei".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: NULL
“initial-eps-bearer” property “initial-eps-bearer” gchar *
Represents the D-Bus property "InitialEpsBearer".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: NULL
“initial-eps-bearer-settings” property “initial-eps-bearer-settings” GVariant *
Represents the D-Bus property "InitialEpsBearerSettings".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“operator-code” property “operator-code” gchar *
Represents the D-Bus property "OperatorCode".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: NULL
“operator-name” property “operator-name” gchar *
Represents the D-Bus property "OperatorName".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: NULL
“pco” property “pco” GVariant *
Represents the D-Bus property "Pco".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Allowed values: GVariant<a(ubay)>
Default value: NULL
“registration-state” property “registration-state” guint
Represents the D-Bus property "RegistrationState".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: 0
“subscription-state” property “subscription-state” guint
Represents the D-Bus property "SubscriptionState".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModem3gpp
Flags: Read / Write
Default value: 0
“handle-register” signalgboolean user_function (MmGdbusModem3gpp *object, GDBusMethodInvocation *invocation, gchar *arg_operator_id, gpointer user_data)
Signal emitted when a remote caller is invoking the Register()
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 mm_gdbus_modem3gpp_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 G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_operator_id |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-scan” signalgboolean user_function (MmGdbusModem3gpp *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Scan()
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 mm_gdbus_modem3gpp_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 G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-set-eps-ue-mode-operation” signalgboolean user_function (MmGdbusModem3gpp *object, GDBusMethodInvocation *invocation, guint arg_mode, gpointer user_data)
Signal emitted when a remote caller is invoking the SetEpsUeModeOperation()
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 mm_gdbus_modem3gpp_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 G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_mode |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-set-initial-eps-bearer-settings” signalgboolean user_function (MmGdbusModem3gpp *object, GDBusMethodInvocation *invocation, GVariant *arg_settings, gpointer user_data)
Signal emitted when a remote caller is invoking the SetInitialEpsBearerSettings()
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 mm_gdbus_modem3gpp_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 G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_settings |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last