code: public byte[] sendQuerySm(OutputStream os, int sequenceNumber,
              String messageId, TypeOfNumber sourceAddrTon,
              NumberingPlanIndicator sourceAddrNpi, String sourceAddr)
              throws PDUStringException, IOException {
          byte[] b = pduComposer.querySm(sequenceNumber, messageId, sourceAddrTon
                  .value(), sourceAddrNpi.value(), sourceAddr);
          writeAndFlush(os, b);
          return b;
      }
docs: /*
  (non-Javadoc)
  
  @see org.jsmpp.PDUSender#sendQuerySm(java.io.OutputStream, int,
  java.lang.String, org.jsmpp.TypeOfNumber,
  org.jsmpp.NumberingPlanIndicator, java.lang.String)