You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/InnogyWebSocket.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ public class InnogyWebSocket {
52
52
/**
53
53
* Constructs the {@link InnogyWebSocket}.
54
54
*
55
-
* @param eventListener the responsible {@link InnogyBridgeHandler}
55
+
* @param bridgeHandler the responsible {@link InnogyBridgeHandler}
56
56
* @param webSocketURI the {@link URI} of the websocket endpoint
57
57
* @param maxIdleTimeout
58
58
*/
@@ -128,8 +128,7 @@ public void onConnect(Session session) {
128
128
publicvoidonClose(intstatusCode, Stringreason) {
129
129
if (statusCode == StatusCode.NORMAL) {
130
130
logger.info("Connection to innogy Webservice was closed normally.");
131
-
} elseif (!closing) {
132
-
//An additional reconnect attempt is only required when the close/stop wasn't executed by the binding.
131
+
} else {
133
132
logger.info("Connection to innogy Webservice was closed abnormally (code: {}). Reason: {}", statusCode,
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/handler/InnogyBridgeHandler.java
+14-12Lines changed: 14 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@
82
82
* The {@link InnogyBridgeHandler} is responsible for handling the innogy SmartHome controller including the connection
83
83
* to the innogy backend for all communications with the innogy {@link Device}s.
84
84
* <p/>
85
-
* It implements the {@link AccessTokenRefreshListener} to handle updates of the oauth2 tokens and the
85
+
* It implements the {@link CredentialRefreshListener} to handle updates of the oauth2 tokens and the
86
86
* {@link EventListener} to handle {@link Event}s, that are received by the {@link InnogyWebSocket}.
87
87
* <p/>
88
88
* The {@link Device}s are organized by the {@link DeviceStructureManager}, which is also responsible for the connection
@@ -97,6 +97,8 @@ public class InnogyBridgeHandler extends BaseBridgeHandler
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/handler/InnogyDeviceHandler.java
+14-11Lines changed: 14 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ public InnogyDeviceHandler(final Thing thing) {
0 commit comments