@Override public void stop() { // Disables message processing enabled = false; serviceFactory.stop(); manager.stop(); super.stop(); daemonConnection.stop(); }
/** Stop monitoring Swift. */ @Override public void stop() { synchronized (connectionsLock) { if (scheduler != null) { clear(); scheduler.shutdown(); scheduler = null; for (final DaemonConnection connection : monitoredConnections.keySet()) { connection.stop(); } } } }