Subscription (#7)
* Change update DataPoints by a subscription way * Remove unused import * small polish
This commit is contained in:
@ -8,6 +8,8 @@ public class WebConnector implements DataPointListener {
|
||||
|
||||
private WebConnector (){
|
||||
|
||||
// Subscribe to the update of DataPoints
|
||||
DataPointListener.subscribeUpdate(this);
|
||||
}
|
||||
|
||||
public static WebConnector getMySelf(){
|
||||
|
Reference in New Issue
Block a user