code: public void write(final int dataTransferVersion, DataOutput out)
        throws IOException {
      Text.writeString(out, clientName);
      out.writeBoolean(hasSrcDataNode); // Not sending src node information
      if (hasSrcDataNode) { // pass src node information
        srcDataNode.write(out);
      }
      out.writeInt(numTargets);
      for (int i = 1; i <= numTargets; i++) {
        nodes[i].write(out);
      }
      if (dataTransferVersion >= DataTransferProtocol.BITSETOPTIONS_VERSION) {
        options.write(out);
      }
    }
docs: ///////////////////////////////////