@Override protected void _stop() throws Exception { if (this.smppSession != null) { if (this.smppSession.isBinding() || this.smppSession.isBound()) this.smppSession.unbind(this.timeout); this.smppSession.destroy(); } if (this.clientBootstrap != null) this.clientBootstrap.destroy(); if (this.monitorExecutor != null) this.monitorExecutor.shutdownNow(); }
if ((smppSession != null && smppSession.isBound()) || (smppSession != null && smppSession.isBinding())) {
if ((smppSession != null && smppSession.isBound()) || (smppSession != null && smppSession.isBinding())) {