code: public byte[] sendQuerySmResp(OutputStream os, int sequenceNumber,
              String messageId, String finalDate, MessageState messageState,
              byte errorCode) throws PDUStringException, IOException {
          byte[] b = pduComposer.querySmResp(sequenceNumber, messageId,
                  finalDate, messageState.value(), errorCode);
          writeAndFlush(os, b);
          return b;
      }
docs: /*
  (non-Javadoc)
  
  @see org.jsmpp.PDUSender#sendQuerySmResp(java.io.OutputStream, int,
  java.lang.String, java.lang.String, org.jsmpp.bean.MessageState,
  byte)