Exemplo n.º 1
0
    @Override
    public void sessionBindRequested(
        Long sessionId, SmppSessionConfiguration sessionConfiguration, final BaseBind bindRequest)
        throws SmppProcessingException {
      // test name change of sessions
      // this name actually shows up as thread context....
      sessionConfiguration.setName("Application.SMPP." + sessionConfiguration.getSystemId());

      // throw new SmppProcessingException(SmppConstants.STATUS_BINDFAIL, null);
    }
 @Override
 public void sessionBindRequested(
     Long sessionId, SmppSessionConfiguration sessionConfiguration, final BaseBind bindRequest)
     throws SmppProcessingException {
   sessionConfiguration.setName("Application.SMPP." + sessionConfiguration.getSystemId());
 }