@Override public void serverReady(SmppSessionHandler sessionHandler) { // properly setup the session handler (to handle notifications) this.sessionHandler = sessionHandler; // send the prepared bind response try { this.sendResponsePdu(this.preparedBindResponse); } catch (Exception e) { logger.error("{}", e); } // flag the channel is ready to read this.channel.setReadable(true).awaitUninterruptibly(); this.setBound(); }
@Override public void serverReady(SmppSessionHandler sessionHandler) { // properly setup the session handler (to handle notifications) this.sessionHandler = sessionHandler; // send the prepared bind response try { this.sendResponsePdu(this.preparedBindResponse); } catch (Exception e) { logger.error("{}", e); } // flag the channel is ready to read this.channel.setReadable(true).awaitUninterruptibly(); this.setBound(); }
@Override public void serverReady(SmppSessionHandler sessionHandler) { // properly setup the session handler (to handle notifications) this.sessionHandler = sessionHandler; // send the prepared bind response try { this.sendResponsePdu(this.preparedBindResponse); } catch (Exception e) { logger.error("{}", e); } // flag the channel is ready to read this.channel.setReadable(true).awaitUninterruptibly(); this.setBound(); }
@Override public void serverReady(SmppSessionHandler sessionHandler) { // properly setup the session handler (to handle notifications) this.sessionHandler = sessionHandler; // send the prepared bind response try { this.sendResponsePdu(this.preparedBindResponse); } catch (Exception e) { logger.error("{}", e); } // flag the channel is ready to read this.channel.setReadable(true).awaitUninterruptibly(); this.setBound(); }
throw new UnrecoverablePduException("Sequence number of response is not same as request"); defaultSmppSession.sendResponsePdu(response); } finally {
try { countSendResponsePduProcessingTime(responsePdu, System.currentTimeMillis() - startTime); sendResponsePdu(responsePdu); countSendResponsePduResponseTime(responsePdu, System.currentTimeMillis() - startTime); } catch (Exception e) {
this.countSendResponsePdu(responsePdu, responseTime, responseTime); this.sendResponsePdu(responsePdu); } catch (Exception e) { logger.error("Unable to cleanly return response PDU: {}", e);
this.countSendResponsePdu(responsePdu, responseTime, responseTime); this.sendResponsePdu(responsePdu); } catch (Exception e) { logger.error("Unable to cleanly return response PDU: {}", e);
this.countSendResponsePdu(responsePdu, responseTime, responseTime); this.sendResponsePdu(responsePdu); } catch (Exception e) { logger.error("Unable to cleanly return response PDU: {}", e);