public static final class DNSTaskStarter.Factory extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DNSTaskStarter.Factory.ClassDelegate
This interface defines a delegate to the DNSTaskStarter class to enable subclassing.
|
Modifier and Type | Method and Description |
---|---|
static DNSTaskStarter.Factory.ClassDelegate |
classDelegate()
Returns DNSTaskStarter's class delegate.
|
static DNSTaskStarter.Factory |
getInstance()
Return the instance of the DNSTaskStarter Factory.
|
DNSTaskStarter |
getStarter(JmDNSImpl jmDNSImpl)
Return the instance of the DNSTaskStarter for the JmDNS.
|
protected static DNSTaskStarter |
newDNSTaskStarter(JmDNSImpl jmDNSImpl)
Returns a new instance of DNSTaskStarter using the class delegate if it exists.
|
static void |
setClassDelegate(DNSTaskStarter.Factory.ClassDelegate delegate)
Assigns
delegate as DNSTaskStarter's class delegate. |
public static void setClassDelegate(DNSTaskStarter.Factory.ClassDelegate delegate)
delegate
as DNSTaskStarter's class delegate. The class delegate is optional.delegate
- The object to set as DNSTaskStarter's class delegate.classDelegate()
,
DNSTaskStarter.Factory.ClassDelegate
public static DNSTaskStarter.Factory.ClassDelegate classDelegate()
setClassDelegate(ClassDelegate anObject)
,
DNSTaskStarter.Factory.ClassDelegate
protected static DNSTaskStarter newDNSTaskStarter(JmDNSImpl jmDNSImpl)
jmDNSImpl
- jmDNS instancepublic static DNSTaskStarter.Factory getInstance()
public DNSTaskStarter getStarter(JmDNSImpl jmDNSImpl)
jmDNSImpl
- jmDNS instanceCopyright © 2002-2017 JmDNS. All Rights Reserved.