public static final class DNSTaskStarter.Factory extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
DNSTaskStarter.Factory.ClassDelegate |
This interface defines a delegate to the DNSTaskStarter class to enable subclassing.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DNSTaskStarter.Factory.ClassDelegate |
classDelegate() |
Returns DNSTaskStarter's class delegate.
|
void |
disposeStarter(JmDNSImpl jmDNSImpl) |
Dispose of the DNSTaskStarter instance associated with this JmDNS.
|
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.ClassDelegatepublic static DNSTaskStarter.Factory.ClassDelegate classDelegate()
setClassDelegate(ClassDelegate anObject),
DNSTaskStarter.Factory.ClassDelegateprotected static DNSTaskStarter newDNSTaskStarter(JmDNSImpl jmDNSImpl)
jmDNSImpl - jmDNS instancepublic static DNSTaskStarter.Factory getInstance()
public DNSTaskStarter getStarter(JmDNSImpl jmDNSImpl)
jmDNSImpl - jmDNS instancepublic void disposeStarter(JmDNSImpl jmDNSImpl)
jmDNSImpl - jmDNS instanceCopyright © 2002–2018 JmDNS. All rights reserved.