public class ConfigNetHandler extends FormHandler
FormHandler.Message| Modifier and Type | Field and Description |
|---|---|
(package private) static int | DEF_BURST_PCTdefault burst percentage |
(package private) static int | DEF_BURST_TIMEdefault burst time |
_action, _context, _log, _method, _out, _requestWrapper, _session, _settings| Constructor and Description |
|---|
ConfigNetHandler()Create a new handler. |
| Modifier and Type | Method and Description |
|---|---|
protected void | processForm()processForm. |
void | setDisableUDP(String foo)Set whether UDP transport is disabled. |
void | setDynamicKeys(String moo)Set that the user wants dynamic keys. |
void | setEnableloadtesting(String moo)Enable load testing. |
void | setHostname(String hostname)Set the hostname. |
void | setInboundrate(String rate)Set the inbound rate. |
void | setIPv4Firewalled(String moo)Set whether IPv4 is firewalled. |
void | setIpv6(String mode)Set the IPv6 mode configuration. |
void | setIPv6Firewalled(String moo)Set whether IPv6 is firewalled. |
void | setLaptop(String moo)Set that the user wants laptop mode enabled. |
void | setNtcpAutoIP(String mode)Set the NTCP auto IP mode. |
void | setNtcpAutoPort(String mode)Set the NTCP auto port mode. |
void | setNtcphost(String host)Set the NTCP hostname. |
void | setNtcpport(String port)Set the NTCP port. |
void | setOutboundrate(String rate)Set the outbound rate. |
void | setRatesOnly(String foo)Set rates-only mode (skip IP/transport changes). |
void | setRecheckReachability(String moo)Set that the user wants to recheck reachability. |
void | setRequireIntroductions(String moo)Set that the user wants to require introducers. |
void | setSave(String moo)Set that the user wants to save. |
void | setSharePercentage(String pct)Set the share percentage. |
void | setTcpPort(String port)Set the TCP port. |
void | setUdpAutoIP(String mode)setUdpAutoIP. |
void | setUdpHost1(String host)Set the first UDP host. |
void | setUdpPort(String port)Set the UDP port. |
void | setUpnp(String moo)Set that the user wants UPnP enabled. |
_t, _t, _t, _x, addFormError, addFormError, addFormErrorNoEscape, addFormErrorNoEscape, addFormNotice, addFormNotice, addFormNoticeNoEscape, addFormNoticeNoEscape, getAllMessages, getErrors, getJettyString, getNotices, isAdvanced, setAction, setContextId, setNonce, setRequestWrapper, setSettings, storeMethod, storeSession, storeWriterstatic final int DEF_BURST_PCT
static final int DEF_BURST_TIME
protected void processForm()
processForm in class FormHandlerpublic void setDisableUDP(String foo)
foo - the disable UDP modepublic void setDynamicKeys(String moo)
moo - ignoredpublic void setEnableloadtesting(String moo)
moo - ignoredpublic void setHostname(String hostname)
hostname - the hostnamepublic void setInboundrate(String rate)
rate - the inbound ratepublic void setIPv4Firewalled(String moo)
moo - ignoredpublic void setIpv6(String mode)
mode - the IPv6 modepublic void setIPv6Firewalled(String moo)
moo - ignoredpublic void setLaptop(String moo)
moo - ignoredpublic void setNtcpAutoIP(String mode)
mode - the auto IP modepublic void setNtcpAutoPort(String mode)
mode - the auto port modepublic void setNtcphost(String host)
host - the hostnamepublic void setNtcpport(String port)
port - the port numberpublic void setOutboundrate(String rate)
rate - the outbound ratepublic void setRatesOnly(String foo)
foo - ignoredpublic void setRecheckReachability(String moo)
moo - ignoredpublic void setRequireIntroductions(String moo)
moo - ignoredpublic void setSave(String moo)
moo - ignoredpublic void setSharePercentage(String pct)
pct - the percentagepublic void setTcpPort(String port)
port - the port numberpublic void setUdpAutoIP(String mode)
public void setUdpHost1(String host)
host - the hostnamepublic void setUdpPort(String port)
port - the port numberpublic void setUpnp(String moo)
moo - ignored