sLogger.error("No IP address or serial port could be found in configuration!");
return false;
}
NetworkLinkListener linkListener = new NetworkLinkListener() {
public void linkClosed(CloseEvent e) {
// if the link is lost, we want to reconnect immediately
if(!(CloseEvent.USER_REQUEST == e.getInitiator()) && !sShutdown) {
sLogger.warn("KNX link has been lost (reason: {} on object {}) - reconnecting...", e.getReason(), e.getSource().toString());
connect();