code: public void readFrom(DataInput instream) throws Exception {
          host = S3Util.readString(instream);
          port = instream.readInt();
          protocol = S3Util.readString(instream);
      }
docs: Read the domain controller's data from an input stream.
  
  @param instream the input stream
  @throws Exception