Package ej.ecom

Interface Device

    • Field Detail

    • Method Detail

      • getDescriptor

        <D extends DeviceHardwareDescriptor<D> getDescriptor()
        Returns the device hardware descriptor.
        Type Parameters:
        D - the type of the device
        Returns:
        the device hardware descriptor
      • getName

        String getName()
        Returns the name of the device.
        Returns:
        the device name, UNKNOWN_NAME if this device is not registered and its name is unavailable.
      • getParent

        Device getParent()
        Returns the parent of this device in the hardware topology.
        Returns:
        null if it is a root device.
      • getChildren

        Device[] getChildren()
        Returns the children of this device in the hardware topology.
        Returns:
        an empty array if it is a leaf device.