/** @syncpriority 90 */ public void abort() { log.fatal("Mina instance ABORTING!"); ccm.prepareForShutdown(); scm.abort(); ccm.abort(); netMgr.stop(); started = false; log.fatal("Mina instance stopped"); }
/** @syncpriority 200 */ public void stop() throws MinaException { log.fatal("Mina instance stopping"); ccm.prepareForShutdown(); scm.closeAllStreamConns(); streamMgr.stop(); sourceMgr.stop(); streamAdvertiser.cancel(); ccm.stop(); netMgr.stop(); badNodes.clear(); started = false; log.fatal("Mina instance stopped"); }
public boolean isConnectedToSupernode() { return ccm.haveSupernode(); }
public List<ConnectedNode> getConnectedNodes() { return ccm.getConnectedNodes(); }