Class ZeroconfHelper


  • @Deprecated
    public class ZeroconfHelper
    extends java.lang.Object
    Deprecated.
    As of release 2013.1, ZeroConf is no longer supported by the Perforce server 2013.1.
    Class designed to help the server factory with zeroconf-based duties. Not intended for direct use by end-users; uses the JmDNS zeroconf package if it's available through the class loader. See the comments attached to ServerFactory.getZeroconfServers for a fuller explanation.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String P4D_ZEROCONF_TYPE
      Deprecated.
      The zeroconf type string normally used to register Perforce servers.
      static java.lang.String ZEROCONF_CLASS_NAME
      Deprecated.
      The name of the class we first try to find for zeroconf services.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ZeroconfHelper()
      Deprecated.
      We don't want this usable outside the main P4Java server package.
    • Field Detail

      • ZEROCONF_CLASS_NAME

        public static final java.lang.String ZEROCONF_CLASS_NAME
        Deprecated.
        The name of the class we first try to find for zeroconf services.
        See Also:
        Constant Field Values
      • P4D_ZEROCONF_TYPE

        public static java.lang.String P4D_ZEROCONF_TYPE
        Deprecated.
        The zeroconf type string normally used to register Perforce servers.
    • Constructor Detail

      • ZeroconfHelper

        protected ZeroconfHelper()
        Deprecated.
        We don't want this usable outside the main P4Java server package.
    • Method Detail

      • isZeroConfAvailable

        protected boolean isZeroConfAvailable()
        Deprecated.
        Returns true if this instance of P4Java has a suitable zeroconf implementation available to it. Should probably be used at least once before calling the getZeroConfServers method to avoid unnecessary overhead.
        Returns:
        true iff zeroconf services are available to the server factory.