From 1a0f4f44551f95298909981831ddf3a26acbf19e Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Mon, 16 May 2011 03:30:00 +0100 Subject: dnssd: Remove non-existent parameters from javadoc --- .../java/com/apple/dnssd/DNSSDRecordRegistrar.java | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'usr/src') diff --git a/usr/src/lib/libdns_sd/java/com/apple/dnssd/DNSSDRecordRegistrar.java b/usr/src/lib/libdns_sd/java/com/apple/dnssd/DNSSDRecordRegistrar.java index 366d83476b..6983e279fa 100644 --- a/usr/src/lib/libdns_sd/java/com/apple/dnssd/DNSSDRecordRegistrar.java +++ b/usr/src/lib/libdns_sd/java/com/apple/dnssd/DNSSDRecordRegistrar.java @@ -5,9 +5,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -25,9 +25,6 @@ Re-licensed mDNSResponder daemon source code under Apache License, Version 2.0 Revision 1.1 2006/06/20 23:00:12 rpantos Java needs to implement DNSServiceRegisterRecord equivalent - -ident "%Z%%M% %I% %E% SMI" - */ @@ -38,7 +35,7 @@ package com.apple.dnssd; public interface DNSSDRecordRegistrar extends DNSSDService { - /** Register an independent {@link DNSRecord}.

+ /** Register an independent {@link DNSRecord}.

@param flags Possible values are SHARED or UNIQUE (see flag type definitions for details).

@@ -55,25 +52,22 @@ public interface DNSSDRecordRegistrar extends DNSSDService as defined in nameser.h.

@param rrclass - The class of the resource record, as defined in nameser.h + The class of the resource record, as defined in nameser.h (usually 1 for the Internet class).

- @param rData + @param rdata The new rdata as it is to appear in the DNS record.

@param ttl The time to live of the resource record, in seconds. Pass 0 to use a default value.

- @param listener - This object will get called when the service is registered. -

@return A {@link DNSSDService} that can be used to abort the record registration. @throws SecurityException If a security manager is present and denies RuntimePermission("getDNSSDInstance"). @see RuntimePermission */ - public DNSRecord registerRecord( int flags, int ifIndex, String fullname, int rrtype, + public DNSRecord registerRecord( int flags, int ifIndex, String fullname, int rrtype, int rrclass, byte[] rdata, int ttl) throws DNSSDException; -} +} -- cgit v1.2.3