Пример #1
0
 @Override
 public void disconnected(Connection connection, Exception e) {
   log.info(String.format("Connection disconnected (%s)", connection.toString()));
   rebuildAllLaunchers();
 }
Пример #2
0
 @Override
 public void finishedConnecting(Connection connection, Exception e) {
   log.info(String.format("New connection finished connected (%s)", connection.toString()));
   Platform.runLater(() -> setAvailable());
 }