private EndpointDefinition convertSrvRecordToEndpointDefinition ( final SrvRecord srvRecord ) { return new EndpointDefinition ( findServiceName ( srvRecord . service ( ) ) , srvRecord . target ( ) , srvRecord . port ( ) ) ; }
Convert a single srvRecord into an EndpointDefinition .