@Override public void sessionDestroyed(Long sessionId, SmppServerSession session) { logger.info("Session destroyed: {}", session); if (session.hasCounters()) { logger.info(" final session rx-submitSM: {}", session.getCounters().getRxSubmitSM()); } session.destroy(); }
@Override public void sessionDestroyed(Long sessionId, SmppServerSession session) { logger.info("Session destroyed: {} " + session); // print out final stats if (session.hasCounters()) { logger.info(" final session rx-submitSM: {} " + session.getCounters().getRxSubmitSM()); } // make sure it's really shutdown session.destroy(); }