GdbusModemOma
Object Hierarchy:
Description:
[ CCode ( cname = "MmGdbusModemOma" , type_id = "mm_gdbus_modem_oma_get_type ()" ) ]
public interface GdbusModemOma : Object
public interface GdbusModemOma : Object
Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.Oma.
All known implementing classes:
Namespace: MM
Package: libmm-glib
Content:
Properties:
- public abstract uint features { get; set; }
Represents the D-Bus property "Features".
- public abstract Variant pending_network_initiated_sessions { owned get; set; }
Represents the D-Bus property "PendingNetworkInitiatedSessions".
- public abstract int session_state { get; set; }
Represents the D-Bus property "SessionState".
- public abstract uint session_type { get; set; }
Represents the D-Bus property "SessionType".
Static methods:
- public static unowned DBusInterfaceInfo interface_info ()
Gets a machine-readable description of the org.freedesktop.ModemManager1.Modem.Oma D-Bus interface.
- public static uint override_properties (ObjectClass klass, uint property_id_begin)
Overrides all Object properties in the GdbusModemOma interface for a concrete class.
Methods:
- public async bool call_accept_network_initiated_session (uint arg_session_id, bool arg_accept, Cancellable? cancellable) throws Error
Asynchronously invokes the AcceptNetworkInitiatedSession D-Bus method on this.
- public bool call_accept_network_initiated_session_sync (uint arg_session_id, bool arg_accept, Cancellable? cancellable = null) throws Error
Synchronously invokes the AcceptNetworkInitiatedSession D-Bus method on this.
- public async bool call_cancel_session (Cancellable? cancellable) throws Error
Asynchronously invokes the CancelSession D-Bus method on this.
- public bool call_cancel_session_sync (Cancellable? cancellable = null) throws Error
Synchronously invokes the CancelSession D-Bus method on this.
- public async bool call_setup (uint arg_features, Cancellable? cancellable) throws Error
Asynchronously invokes the Setup D-Bus method on this.
- public bool call_setup_sync (uint arg_features, Cancellable? cancellable = null) throws Error
Synchronously invokes the Setup D-Bus method on this.
- public async bool call_start_client_initiated_session (uint arg_session_type, Cancellable? cancellable) throws Error
Asynchronously invokes the StartClientInitiatedSession D-Bus method on this.
- public bool call_start_client_initiated_session_sync (uint arg_session_type, Cancellable? cancellable = null) throws Error
Synchronously invokes the StartClientInitiatedSession D-Bus method on this.
- public void complete_accept_network_initiated_session (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling invocations of the AcceptNetworkInitiatedSession D-Bus method.
- public void complete_cancel_session (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling invocations of the CancelSession D-Bus method.
- public void complete_setup (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling invocations of the Setup D-Bus method.
- public void complete_start_client_initiated_session (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling invocations of the StartClientInitiatedSession D-Bus method.
- public void emit_session_state_changed (int arg_old_session_state, int arg_new_session_state, uint arg_session_state_failed_reason)
Emits the "SessionStateChanged" D-Bus signal.
Signals:
- public virtual signal bool handle_accept_network_initiated_session (DBusMethodInvocation invocation, uint arg_session_id, bool arg_accept)
Signal emitted when a remote caller is invoking the AcceptNetworkInitiatedSession D-Bus method.
- public virtual signal bool handle_cancel_session (DBusMethodInvocation invocation)
Signal emitted when a remote caller is invoking the CancelSession D-Bus method.
- public virtual signal bool handle_setup (DBusMethodInvocation invocation, uint arg_features)
Signal emitted when a remote caller is invoking the Setup D-Bus method.
- public virtual signal bool handle_start_client_initiated_session (DBusMethodInvocation invocation, uint arg_session_type)
Signal emitted when a remote caller is invoking the StartClientInitiatedSession D-Bus method.
- public virtual signal void session_state_changed (int arg_old_session_state, int arg_new_session_state, uint arg_session_state_failed_reason)
On the client-side, this signal is emitted whenever the D-Bus signal "SessionStateChanged" is received.
Inherited Members:
All known members inherited from class GLib.Object