Class ConfigNetHandler


  • public class ConfigNetHandler
    extends FormHandler
    Handler to deal with form submissions from the main config form and act upon the values. Used for both /config and /confignet
    • Constructor Detail

      • ConfigNetHandler

        public ConfigNetHandler()
    • Method Detail

      • processForm

        protected void processForm()
        Description copied from class: FormHandler
        Implement this to perform the final processing (in turn, adding formNotice and formError messages, etc) Will only be called if _action is non-null and the nonce is valid.
        Specified by:
        processForm in class FormHandler
      • setSave

        public void setSave​(String moo)
      • setRecheckReachability

        public void setRecheckReachability​(String moo)
      • setRequireIntroductions

        public void setRequireIntroductions​(String moo)
      • setDynamicKeys

        public void setDynamicKeys​(String moo)
      • setEnableloadtesting

        public void setEnableloadtesting​(String moo)
      • setUdpAutoIP

        public void setUdpAutoIP​(String mode)
      • setNtcpAutoIP

        public void setNtcpAutoIP​(String mode)
      • setNtcpAutoPort

        public void setNtcpAutoPort​(String mode)
      • setUpnp

        public void setUpnp​(String moo)
      • setLaptop

        public void setLaptop​(String moo)
      • setIPv4Firewalled

        public void setIPv4Firewalled​(String moo)
        Since:
        0.9.20
      • setIPv6Firewalled

        public void setIPv6Firewalled​(String moo)
        Since:
        0.9.28
      • setHostname

        public void setHostname​(String hostname)
      • setTcpPort

        public void setTcpPort​(String port)
      • setNtcphost

        public void setNtcphost​(String host)
      • setNtcpport

        public void setNtcpport​(String port)
      • setUdpHost1

        public void setUdpHost1​(String host)
      • setUdpPort

        public void setUdpPort​(String port)
      • setInboundrate

        public void setInboundrate​(String rate)
      • setOutboundrate

        public void setOutboundrate​(String rate)
      • setSharePercentage

        public void setSharePercentage​(String pct)
      • setRatesOnly

        public void setRatesOnly​(String foo)
        Since:
        0.8.12
      • setDisableUDP

        public void setDisableUDP​(String foo)
        Since:
        0.8.13
      • setIpv6

        public void setIpv6​(String mode)
        Since:
        IPv6