Interface DeviceFactory

  • All Implemented Interfaces:

    
    public interface DeviceFactory
    
                        

    Factory to create Device instances.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Device createDevice(DeviceSettings deviceSettings) Creates a new Device instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createDevice

         abstract Device createDevice(DeviceSettings deviceSettings)

        Creates a new Device instance.

        Parameters:
        deviceSettings - the settings to be applied on the device.
        Returns:

        a new Device instance, not running. Use startAsync to start the device.