ServiceInfo(String type, String name)
public ServiceInfo(String type, String name, int port, String text)
    ServiceInfo(String type, String name)    {        if (!type.endsWith("."))        {            throw new IllegalArgumentException("type must be fully qualified DNS name ending in '.': " + type);        }        this.type = type;        this.name = name;    }