Client
Object Hierarchy:
Description:
[ CCode ( type_id = "nm_client_get_type ()" ) ]
public class Client : Object, AsyncInitable, Initable
public class Client : Object, AsyncInitable, Initable
Namespace: NM
Package: libnm-glib
Content:
Constants:
- public const string ACTIVATING_CONNECTION
- public const string ACTIVE_CONNECTIONS
- public const string ALL_DEVICES
- public const string CONNECTIVITY
- public const string DEVICES
- public const string MANAGER_RUNNING
- public const string NETWORKING_ENABLED
- public const string PRIMARY_CONNECTION
- public const string STARTUP
- public const string STATE
- public const string VERSION
- public const string WIMAX_ENABLED
- public const string WIMAX_HARDWARE_ENABLED
- public const string WIRELESS_ENABLED
- public const string WIRELESS_HARDWARE_ENABLED
- public const string WWAN_ENABLED
- public const string WWAN_HARDWARE_ENABLED
Properties:
- public ActiveConnection activating_connection { get; }
- public GenericArray<void*> active_connections { get; }
- public ObjectArray all_devices { get; }
- public uint connectivity { get; }
- public ObjectArray devices { get; }
- public bool manager_running { get; }
- public bool networking_enabled { get; set; }
- public ActiveConnection primary_connection { get; }
- public bool startup { get; }
- public uint state { get; }
- public string version { get; }
- public bool wimax_enabled { get; set; }
- public bool wimax_hardware_enabled { get; }
- public bool wireless_enabled { get; set; }
- public bool wireless_hardware_enabled { get; }
- public bool wwan_enabled { get; set; }
- public bool wwan_hardware_enabled { get; }
Static methods:
- public static async Client new_async (Cancellable? cancellable) throws Error
Creation methods:
- public Client ()
Methods:
- public void activate_connection (Connection? connection, Device? device, string? specific_object, ClientActivateFn? callback)
- public void add_and_activate_connection (Connection? @partial, Device device, string? specific_object, ClientAddActivateFn? callback)
- public ConnectivityState check_connectivity (Cancellable? cancellable = null) throws Error
- public async ConnectivityState check_connectivity_async (Cancellable? cancellable) throws Error
- public void deactivate_connection (ActiveConnection active)
- public unowned ActiveConnection get_activating_connection ()
- public unowned GenericArray<ActiveConnection> get_active_connections ()
- public unowned GenericArray<Device> get_all_devices ()
- public ConnectivityState get_connectivity ()
- public unowned Device get_device_by_iface (string iface)
- public unowned Device get_device_by_path (string object_path)
- public unowned GenericArray<Device> get_devices ()
- public bool get_logging (string? level, string? domains) throws Error
- public bool get_manager_running ()
- public ClientPermissionResult get_permission_result (ClientPermission permission)
- public unowned ActiveConnection get_primary_connection ()
- public bool get_startup ()
- public State get_state ()
- public unowned string get_version ()
- public bool networking_get_enabled ()
- public void networking_set_enabled (bool enabled)
- public bool set_logging (string? level, string? domains) throws Error
- public void sleep (bool sleep_)
- public bool wimax_get_enabled ()
- public bool wimax_hardware_get_enabled ()
- public void wimax_set_enabled (bool enabled)
- public bool wireless_get_enabled ()
- public bool wireless_hardware_get_enabled ()
- public void wireless_set_enabled (bool enabled)
- public bool wwan_get_enabled ()
- public bool wwan_hardware_get_enabled ()
- public void wwan_set_enabled (bool enabled)
Signals:
- public signal void any_device_added (Device device)
- public signal void any_device_removed (Device device)
- public virtual signal void device_added (Device device)
- public virtual signal void device_removed (Device device)
- public virtual signal void permission_changed (uint permission, uint result)
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