ActiveConnection
Object Hierarchy:
Description:
[
CCode ( type_id =
"nm_active_connection_get_type ()" ) ]
public class ActiveConnection :
Object,
AsyncInitable,
Initable
Content:
Constants:
Properties:
- public bool @default { get; }
Whether the active connection is the default IPv4 one.
- public string connection { get; }
The connection's path of the active connection.
- public bool default6 { get; }
Whether the active connection is the default IPv6 one.
- public ObjectArray devices { get; }
- public DHCP4Config dhcp4_config { get; }
- public DHCP6Config dhcp6_config { get; }
- public string id { get; }
The active connection's ID
- public IP4Config ip4_config { get; }
- public IP6Config ip6_config { get; }
- public string master { get; }
The path of the master device if one exists.
- public string specific_object { get; }
The specific object's path of the active connection.
- public uint state { get; }
The state of the active connection.
- public string type { owned get; }
The active connection's type
- public string uuid { get; }
The active connection's UUID
- public bool vpn { get; }
Whether the active connection is a VPN connection.
Creation methods:
Methods:
- public unowned string get_connection ()
Gets the Connection's DBus object path.
- public unowned string get_connection_type ()
Gets the Connection's type.
- public bool get_default ()
Whether the active connection is the default IPv4 one (that is, is
used for the default IPv4 route and DNS information).
- public bool get_default6 ()
Whether the active connection is the default IPv6 one (that is, is
used for the default IPv6 route and DNS information).
- public unowned GenericArray<Device> get_devices ()
Gets the Devices used for
the active connections.
- public unowned DHCP4Config get_dhcp4_config ()
Gets the current
DHCP4Config (if any) associated with the ActiveConnection.
- public unowned DHCP6Config get_dhcp6_config ()
Gets the current
DHCP6Config (if any) associated with the ActiveConnection.
- public unowned string get_id ()
Gets the Connection's ID.
- public unowned IP4Config get_ip4_config ()
Gets the current IP4Config
associated with the ActiveConnection.
- public unowned IP6Config get_ip6_config ()
Gets the current IP6Config
associated with the ActiveConnection.
- public unowned string get_master ()
Gets the path to the master
Device of the connection.
- public unowned string get_specific_object ()
Gets the "specific object" used at the activation.
- public ActiveConnectionState get_state ()
Gets the active connection's state.
- public unowned string get_uuid ()
Gets the Connection's UUID.
- public bool get_vpn ()
Whether the active connection is a VPN connection.
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 GLib.AsyncInitable
All known members inherited from interface GLib.Initable