Code example for MessageProp

0
    LOGGER.info("Reading " + length);
    byte[] data = buffer.readBytes(length);
 
    try { 
      // skip the first 4 bytes which are the length 
      return mContext.getMIC(data, 3, data.length - 4, new MessageProp(false));
    } catch (Exception e) {
      throw new RuntimeException(e);
    } 
 
  } 
 
  @Override 
  protected CompoundResponse doMakeRequest(CompoundRequest request)
      throws IOException {
 
    int sequenceNumber = ++mSequenceNumber;
    RPCBuffer buffer = new RPCBuffer();
    RPCRequest rpcRequest = RPCTestUtil.createRequest();