static public void stop() { if (!running) { return; } running = false; customAppManager.stop(); // Stop TIV tiv.stop(); // Stop the transfer manager TransferManager.stop(); // Stop the keepalive thread PresenceList.stopKeepAlive(); // Stop the loop timer if (mainLoopTimer != null) { mainLoopTimer.Stop(); mainLoopTimer = null; } // Stop the network queue NetworkQueue.stop(); NetworkClientManager.stop(); StreamClientManager.stop(); // Stop the stream processor StreamProcessor.uninitialize(); }
static public void stop() { // Stop the keepalive thread PresenceList.stopKeepAlive(); // Stop the loop timer mainLoopTimer.Stop(); // Stop the network queue NetworkQueue.stop(); NetworkClientManager.stop(); StreamClientManager.stop(); // Stop the stream processor StreamProcessor.uninitialize(); }
static public void stop() { if (!running) { Logging.stop(); IxianHandler.status = NodeStatus.stopped; return; } Logging.info("Stopping node..."); running = false; // Stop the stream processor StreamProcessor.uninitialize(); localStorage.stop(); customAppManager.stop(); // Stop TIV tiv.stop(); // Stop the transfer manager TransferManager.stop(); // Stop the keepalive thread PresenceList.stopKeepAlive(); // Stop the network queue NetworkQueue.stop(); NetworkClientManager.stop(); StreamClientManager.stop(); UpdateVerify.stop(); IxianHandler.status = NodeStatus.stopped; Logging.info("Node stopped"); Logging.stop(); }