public static final class JmmDNS.Factory
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
JmmDNS.Factory.ClassDelegate
This interface defines a delegate to the EOClassDescriptionRegister class to enable subclassing.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static JmmDNS.Factory.ClassDelegate |
classDelegate()
Returns JmmDNS's class delegate.
|
static void |
close()
Closes the instance if still running and discard it.
|
static JmmDNS |
getInstance()
Return the instance of the Multihomed Multicast DNS.
|
protected static JmmDNS |
newJmmDNS()
Returns a new instance of JmmDNS using the class delegate if it exists.
|
static void |
setClassDelegate(JmmDNS.Factory.ClassDelegate delegate)
Assigns
delegate as JmmDNS's class delegate. |
public static void setClassDelegate(JmmDNS.Factory.ClassDelegate delegate)
delegate as JmmDNS's class delegate. The class delegate is optional.delegate - The object to set as JmmDNS's class delegate.classDelegate(),
JmmDNS.Factory.ClassDelegatepublic static JmmDNS.Factory.ClassDelegate classDelegate()
setClassDelegate(ClassDelegate anObject),
JmmDNS.Factory.ClassDelegateprotected static JmmDNS newJmmDNS()
public static JmmDNS getInstance()
public static void close()
throws java.io.IOException
java.io.IOException