@Override public void fireUnrecoverablePduException(UnrecoverablePduException e) { // TODO shall we call wrapped? this.wrappedSmppSessionHandler.fireUnrecoverablePduException(e); this.esme.getSmppSession().close(); // Schedule the connection again scheduleConnect(this.esme); }
@Override public void fireUnrecoverablePduException(UnrecoverablePduException e) { // TODO shall we call wrapped? this.wrappedSmppSessionHandler.fireUnrecoverablePduException(e); this.esme.getSmppSession().close(); // Schedule the connection again scheduleConnect(this.esme); }
@Override public void fireExceptionThrown(Throwable t) { if (t instanceof UnrecoverablePduException) { this.sessionHandler.fireUnrecoverablePduException((UnrecoverablePduException)t); } else if (t instanceof RecoverablePduException) { this.sessionHandler.fireRecoverablePduException((RecoverablePduException)t); } else { // during testing under high load -- java.io.IOException: Connection reset by peer // let's check to see if this session was requested to be closed if (isUnbinding() || isClosed()) { logger.debug("Unbind/close was requested, ignoring exception thrown: {}", t); } else { this.sessionHandler.fireUnknownThrowable(t); } } }
@Override public void fireExceptionThrown(Throwable t) { if (t instanceof UnrecoverablePduException) { this.sessionHandler.fireUnrecoverablePduException((UnrecoverablePduException)t); } else if (t instanceof RecoverablePduException) { this.sessionHandler.fireRecoverablePduException((RecoverablePduException)t); } else { // during testing under high load -- java.io.IOException: Connection reset by peer // let's check to see if this session was requested to be closed if (isUnbinding() || isClosed()) { logger.debug("Unbind/close was requested, ignoring exception thrown: {}", t); } else { this.sessionHandler.fireUnknownThrowable(t); } } }
@Override public void fireExceptionThrown(Throwable t) { if (t instanceof UnrecoverablePduException) { this.sessionHandler.fireUnrecoverablePduException((UnrecoverablePduException)t); } else if (t instanceof RecoverablePduException) { this.sessionHandler.fireRecoverablePduException((RecoverablePduException)t); } else { // during testing under high load -- java.io.IOException: Connection reset by peer // let's check to see if this session was requested to be closed if (isUnbinding() || isClosed()) { logger.debug("Unbind/close was requested, ignoring exception thrown: {}", t); } else { this.sessionHandler.fireUnknownThrowable(t); } } }
@Override public void fireExceptionThrown(Throwable t) { if (t instanceof UnrecoverablePduException) { this.sessionHandler.fireUnrecoverablePduException((UnrecoverablePduException)t); } else if (t instanceof RecoverablePduException) { this.sessionHandler.fireRecoverablePduException((RecoverablePduException)t); } else { // during testing under high load -- java.io.IOException: Connection reset by peer // let's check to see if this session was requested to be closed if (isUnbinding() || isClosed()) { logger.debug("Unbind/close was requested, ignoring exception thrown: {}", t); } else { this.sessionHandler.fireUnknownThrowable(t); } } }