Package org.openmuc.framework.driver.spi
Interface DriverDeviceScanListener
-
public interface DriverDeviceScanListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deviceFound(DeviceScanInfo scanInfo)
Is used by the driver to notify the Data Manager of new devices found during a scan.void
scanProgressUpdate(int progress)
Can optionally be used by driver to let the Data Manager know about the device scan progress in percent.
-
-
-
Method Detail
-
scanProgressUpdate
void scanProgressUpdate(int progress)
Can optionally be used by driver to let the Data Manager know about the device scan progress in percent. Applications can access this value through the ConfigService.- Parameters:
progress
- the progress in percent.
-
deviceFound
void deviceFound(DeviceScanInfo scanInfo)
Is used by the driver to notify the Data Manager of new devices found during a scan.- Parameters:
scanInfo
- the information obtained from the device.
-
-