2N/A/* -*- Mode: Java; tab-width: 4 -*-
2N/A *
2N/A * Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
2N/A *
2N/A * Licensed under the Apache License, Version 2.0 (the "License");
2N/A * you may not use this file except in compliance with the License.
2N/A * You may obtain a copy of the License at
2N/A *
2N/A * http://www.apache.org/licenses/LICENSE-2.0
2N/A *
2N/A * Unless required by applicable law or agreed to in writing, software
2N/A * distributed under the License is distributed on an "AS IS" BASIS,
2N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2N/A * See the License for the specific language governing permissions and
2N/A * limitations under the License.
2N/A
2N/A Change History (most recent first):
2N/A
2N/A$Log: RegisterListener.java,v $
2N/ARevision 1.3 2006/08/14 23:25:08 cheshire
2N/ARe-licensed mDNSResponder daemon source code under Apache License, Version 2.0
2N/A
2N/ARevision 1.2 2004/04/30 21:48:27 rpantos
2N/AChange line endings for CVS.
2N/A
2N/ARevision 1.1 2004/04/30 16:29:35 rpantos
2N/AFirst checked in.
2N/A
2N/Aident "%Z%%M% %I% %E% SMI"
2N/A
2N/A */
2N/A
2N/A
2N/Apackage com.apple.dnssd;
2N/A
2N/A
2N/A/** A listener that receives results from {@link DNSSD#register}. */
2N/A
2N/Apublic interface RegisterListener extends BaseListener
2N/A{
2N/A /** Called when a registration has been completed.<P>
2N/A
2N/A @param registration
2N/A The active registration.
2N/A <P>
2N/A @param flags
2N/A Currently unused, reserved for future use.
2N/A <P>
2N/A @param serviceName
2N/A The service name registered (if the application did not specify a name in
2N/A DNSSD.register(), this indicates what name was automatically chosen).
2N/A <P>
2N/A @param regType
2N/A The type of service registered, as it was passed to DNSSD.register().
2N/A <P>
2N/A @param domain
2N/A The domain on which the service was registered. If the application did not
2N/A specify a domain in DNSSD.register(), this is the default domain
2N/A on which the service was registered.
2N/A */
2N/A void serviceRegistered( DNSSDRegistration registration, int flags, String serviceName,
2N/A String regType, String domain);
2N/A}
2N/A