qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java
private List<EndpointDefinition> convertEndpoints(final List<SrvRecord> results) {
        return results.stream().map(this::convertSrvRecordToEndpointDefinition
        ).collect(Collectors.<EndpointDefinition>toList());
    }
private List<EndpointDefinition> convertEndpoints(final List<SrvRecord> results) {
        return results.stream().map(this::convertSrvRecordToEndpointDefinition
        ).collect(Collectors.<EndpointDefinition>toList());
    }
Converts list of SrvRecord(s) to list of EndpointDefinition(s).

@param results of SrvRecord to convert to EndpointDefinition(s)
@return list of EndpointDefinition