RemoteConnection
Object Hierarchy:
Description:
[
CCode ( type_id =
"nm_remote_connection_get_type ()" ) ]
public class RemoteConnection :
Object,
Connection
Content:
Constants:
Properties:
- public string filename { get; }
File that stores the connection in case the connection is file-backed.
- public uint flags { get; }
The flags of the connection as unsigned integer.
- public bool unsaved { get; }
true if the remote connection
contains changes that have not been saved to disk, false if the connection is the same as its
on-disk representation.
- public bool visible { get; }
true if the remote connection is
visible to the current user, false if not.
Creation methods:
Methods:
- public bool @delete (Cancellable? cancellable = null) throws Error
Deletes the connection.
- public bool commit_changes (bool save_to_disk, Cancellable? cancellable = null) throws Error
Send any local changes to the settings and properties of
this to NetworkManager.
- public async bool commit_changes_async (bool save_to_disk, Cancellable? cancellable) throws Error
Asynchronously sends any local changes to the settings and properties
of this to NetworkManager.
- public async bool delete_async (Cancellable? cancellable) throws Error
Asynchronously deletes the connection.
- public unowned string get_filename ()
- public SettingsConnectionFlags get_flags ()
- public Variant get_secrets (string setting_name, Cancellable? cancellable = null) throws Error
Request the connection's secrets.
- public async Variant get_secrets_async (string setting_name, Cancellable? cancellable) throws Error
Asynchronously requests the connection's secrets.
- public bool get_unsaved ()
- public bool get_visible ()
Checks if the connection is visible to the current user.
- public bool save (Cancellable? cancellable = null) throws Error
Saves the connection to disk if the connection has changes that have
not yet been written to disk, or if the connection has never been saved.
- public async bool save_async (Cancellable? cancellable) throws Error
Saves the connection to disk if the connection has changes that have
not yet been written to disk, or if the connection has never been saved.
- public async Variant update2 (Variant? settings, SettingsUpdate2Flags flags, Variant? args, Cancellable? cancellable) throws Error
Asynchronously calls the Update2
D-Bus method.
Inherited Members:
All known members inherited from class NM.Object
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface NM.Connection