/** @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"); }
public void start() throws MinaException { try { log.info(Tagline.getTagLine()); netMgr.start(); started = true; } catch (MinaException e) { SafetyNet.notifyException(e, this); log.fatal("MinaException caught on startup, stopping Mina"); stop(); throw e; } }
/** @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"); }
@Override public void setHandoverHandler(HandoverHandler handler) { netMgr.setHandoverHandler(handler); }
public void configUpdated() { netMgr.configUpdated(); }
@Override public void removeNodeFilter(NodeFilter nf) { netMgr.removeNodeFilter(nf); }
@Override public void addNodeFilter(NodeFilter nf) { netMgr.addNodeFilter(nf); }