Device
Object Hierarchy:
Description:
[ CCode ( type_id = "nm_device_get_type ()" ) ]
public class Device : Object, AsyncInitable, Initable
public class Device : Object, AsyncInitable, Initable
All known sub-classes:
Namespace: NM
Package: libnm-glib
Content:
Constants:
- public const string ACTIVE_CONNECTION
- public const string AUTOCONNECT
- public const string AVAILABLE_CONNECTIONS
- public const string CAPABILITIES
- public const string DEVICE_TYPE
- public const string DHCP4_CONFIG
- public const string DHCP6_CONFIG
- public const string DRIVER
- public const string DRIVER_VERSION
- public const string FIRMWARE_MISSING
- public const string FIRMWARE_VERSION
- public const string INTERFACE
- public const string IP4_CONFIG
- public const string IP6_CONFIG
- public const string IP_INTERFACE
- public const string MANAGED
- public const string MTU
- public const string PHYSICAL_PORT_ID
- public const string PRODUCT
- public const string REAL
- public const string STATE
- public const string STATE_REASON
- public const string UDI
- public const string VENDOR
Properties:
- public string @interface { owned get; }
- public ActiveConnection active_connection { get; }
- public bool autoconnect { get; set; }
- public ObjectArray available_connections { get; }
- public uint capabilities { get; }
- public uint device_type { get; }
- public DHCP4Config dhcp4_config { get; }
- public DHCP6Config dhcp6_config { get; }
- public string driver { get; }
- public string driver_version { get; }
- public bool firmware_missing { get; }
- public string firmware_version { get; }
- public IP4Config ip4_config { get; }
- public IP6Config ip6_config { get; }
- public string ip_interface { owned get; }
- public bool managed { get; }
- public uint mtu { get; }
- public string physical_port_id { get; }
- public string product { get; }
- public bool real { get; }
- public uint state { get; }
- public string udi { get; }
- public string vendor { get; }
Static methods:
- public static string[] disambiguate_names (Device[] devices)
Creation methods:
- public Device (Connection connection, string path)
Methods:
- public void @delete (DeviceCallbackFn? callback)
- public virtual bool connection_compatible (Connection connection) throws Error
- public bool connection_valid (Connection connection)
- public void disconnect (DeviceCallbackFn? callback)
- public SList<unowned Connection> filter_connections (SList<Connection> connections)
- public unowned ActiveConnection get_active_connection ()
- public bool get_autoconnect ()
- public unowned GenericArray<RemoteConnection> get_available_connections ()
- public DeviceCapabilities get_capabilities ()
- public unowned string get_description ()
- public DeviceType get_device_type ()
- public unowned DHCP4Config get_dhcp4_config ()
- public unowned DHCP6Config get_dhcp6_config ()
- public unowned string get_driver ()
- public unowned string get_driver_version ()
- public bool get_firmware_missing ()
- public unowned string get_firmware_version ()
- public virtual unowned string get_hw_address ()
- public unowned string get_iface ()
- public unowned IP4Config get_ip4_config ()
- public unowned IP6Config get_ip6_config ()
- public unowned string get_ip_iface ()
- public bool get_managed ()
- public uint32 get_mtu ()
- public unowned string get_physical_port_id ()
- public unowned string get_product ()
- public virtual Type get_setting_type ()
- public DeviceState get_state ()
- public DeviceState get_state_reason (out DeviceStateReason reason)
- public virtual unowned string get_type_description ()
- public unowned string get_udi ()
- public unowned string get_vendor ()
- public bool is_real ()
- public bool is_software ()
- public void set_autoconnect (bool autoconnect)
- public void set_managed (bool managed)
Signals:
- public virtual signal void state_changed (uint new_state, uint old_state, uint reason)
Inherited Members:
All known members inherited from class NM.Object
All known members inherited from class GLib.Object
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.Initable