Class EthernetDevice

Manages an ethernet device

Hierarchy

  • EthernetDevice

Methods

  • The EthernetDevice class monitors and manages an ethernet device via DBus It is best to initialize the EthernetDevice via the ethernetDevice() method of a NetworkManager instance

    Parameters

    • bus: DBusConnection

      The system dbus connection

    • devicePath: string

      The path to the ethernet device DBus object

    Returns Promise<EthernetDevice>

  • Returns void

Properties

_propertiesInterface: DBusInterface<AnyInterfaceMethod>
_propertiesSubject: BehaviorSubject<EthernetDeviceProperties>
properties$: Observable<EthernetDeviceProperties>

Continuously updated properties of the ethernet device

Constructors

  • Parameters

    • propertiesInterface: DBusInterface<AnyInterfaceMethod>
    • initialProperties: any

    Returns EthernetDevice

Accessors

  • get properties(): any
  • Get a one-time value of the latest ethernet device properties

    Returns any

Generated using TypeDoc