code: GMetric makeGMetricFromXml() throws IOException {
  		String hostname = getHostName();
  		int port = getPort();
  		UDPAddressingMode addressingMode = getAddressingMode();
  		boolean v31x = getV31();
  		String spoof = getSpoof();
  
  		StringBuilder buf = new StringBuilder();
  		buf.append("GMetric host=").append(hostname);
  		buf.append(" port=").append(port);
  		buf.append(" mode=").append(addressingMode);
  		buf.append(" v31x=").append(v31x);
  		buf.append(" spoof=").append(spoof);
  		log.fine(buf.toString());
  		System.out.println(buf.toString());
  		return new GMetric(hostname, port, addressingMode, DEFAULT_TTL, v31x,
  				null, spoof);
  	}
docs: Makes a GMetric object that can be use to define configuration for an
  agent.
  
  @return GMetric object with the configuration
  @throws IOException