Package javax.jmdns

Class JmmDNS.Factory

  • Enclosing interface:
    JmmDNS

    public static final class JmmDNS.Factory
    extends java.lang.Object
    JmmDNS.Factory enable the creation of new instance of JmmDNS.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  JmmDNS.Factory.ClassDelegate
      This interface defines a delegate to the EOClassDescriptionRegister class to enable subclassing.
    • Method Detail

      • newJmmDNS

        protected static JmmDNS newJmmDNS()
        Returns a new instance of JmmDNS using the class delegate if it exists.
        Returns:
        new instance of JmmDNS
      • getInstance

        public static JmmDNS getInstance()
        Return the instance of the Multihomed Multicast DNS.
        Returns:
        the JmmDNS
      • close

        public static void close()
                          throws java.io.IOException
        Closes the instance if still running and discard it.
        Throws:
        java.io.IOException