code: public void write(final DataOutput output) throws IOException {
          output.write(ManagementProtocol.SIGNATURE);
          output.writeByte(ManagementProtocol.VERSION_FIELD);
          output.writeInt(getVersion());
          output.writeByte(ManagementProtocol.TYPE);
          output.writeByte(getType());
      }
docs: Write the header information to the provided {@link java.io.DataOutput}.
  
  @param output The output to write to
  @throws IOException If any problems occur writing to the output