RegisterRecordListener.java revision 4904:cd464a980538
1/* -*- Mode: Java; tab-width: 4 -*-
2 *
3 * Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *     http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16
17    Change History (most recent first):
18
19$Log: RegisterRecordListener.java,v $
20Revision 1.2  2006/08/14 23:25:08  cheshire
21Re-licensed mDNSResponder daemon source code under Apache License, Version 2.0
22
23Revision 1.1  2006/06/20 23:00:12  rpantos
24<rdar://problem/3839132> Java needs to implement DNSServiceRegisterRecord equivalent
25
26ident	"%Z%%M%	%I%	%E% SMI"
27
28 */
29
30
31package	com.apple.dnssd;
32
33
34/**	A listener that receives results from {@link DNSSDRecordRegistrar#registerRecord}. */
35
36public interface RegisterRecordListener extends BaseListener
37{
38	/** Called when a record registration succeeds.<P>
39
40		@param	record
41					A {@link DNSRecord}.
42		<P>
43		@param	flags
44					Currently ignored, reserved for future use.
45		<P>
46	*/
47	void	recordRegistered( DNSRecord record, int flags);
48}
49
50