Class NetworkResolution

    • Field Detail

      • DEFAULT

        public static NetworkResolution DEFAULT
        Pick whatever the server returns in the config, this is the old and backwards compatible mode (server default).
      • AUTO

        public static NetworkResolution AUTO
        Based on heuristics discovers if internal or external resolution will be used. This is the default setting (not to be confused with the default mode)!
    • Method Detail

      • custom

        public static NetworkResolution custom​(String name)
        Provide a network resolution option which is not covered by the statics defined in this class.
        Parameters:
        name - the name to use.
        Returns:
        a new NetworkResolution.
      • name

        public String name()
        Returns the wire representation of the network resolution setting.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object