}
public static synchronized void disconnect() {
sShutdown = true;
if (sPC!=null) {
KNXNetworkLink link = sPC.detach();
if(sProcessCommunicationListener!=null) {
sPC.removeProcessListener(sProcessCommunicationListener);
sProcessCommunicationListener = null;
}
if (link!=null) {
sLogger.info("Closing KNX connection");
link.close();
}
}
}