@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();
 }
Ejemplo n.º 2
0
    @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();
    }