From 98e7ea2631ab1a4aef47792053422bb9a7921aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Thu, 10 May 2012 14:57:04 +0200 Subject: Return client connection status in system status responses. --- same/src/main/java/com/orbekk/same/SameController.java | 1 + 1 file changed, 1 insertion(+) (limited to 'same/src/main') diff --git a/same/src/main/java/com/orbekk/same/SameController.java b/same/src/main/java/com/orbekk/same/SameController.java index 5794ce7..1cd16fc 100644 --- a/same/src/main/java/com/orbekk/same/SameController.java +++ b/same/src/main/java/com/orbekk/same/SameController.java @@ -70,6 +70,7 @@ public class SameController { State clientState = new State(client.state); response.addAllClientStateComponent( ServicesPbConversion.componentsToPb(clientState.getComponents())); + response.addExtraClientInfo("connection_state: " + client.getConnectionState()); } @Override -- cgit v1.2.3