@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();
 }
Beispiel #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();
    }
Beispiel #3
0
 public void stop() {
   if (smppServerSession != null) {
     smppServerSession.close();
     smppServerSession.destroy();
   }
 }