doc
This commit is contained in:
parent
6d63e0b6de
commit
81b275567f
|
@ -3,6 +3,7 @@ package com.rusefi.io;
|
|||
/**
|
||||
* @author Andrey Belomutskiy
|
||||
* 3/1/2017
|
||||
* @see ConnectionStatusValue
|
||||
*/
|
||||
public interface ConnectionStateListener extends ConnectionFailedListener {
|
||||
ConnectionStateListener VOID = new AbstractConnectionStateListener();
|
||||
|
|
|
@ -28,7 +28,7 @@ public class ConnectionStatusLogic {
|
|||
}
|
||||
|
||||
public static ConnectionStatusLogic INSTANCE = new ConnectionStatusLogic();
|
||||
private List<Listener> listeners = new CopyOnWriteArrayList<>();
|
||||
private final List<Listener> listeners = new CopyOnWriteArrayList<>();
|
||||
|
||||
private ConnectionStatusLogic() {
|
||||
SensorCentral.getInstance().addListener(Sensor.TIME_SECONDS, value -> markConnected());
|
||||
|
|
Loading…
Reference in New Issue