net.i2p.router.web
Class ConfigNetHelper

java.lang.Object
  extended by net.i2p.router.web.HelperBase
      extended by net.i2p.router.web.ConfigNetHelper

public class ConfigNetHelper
extends HelperBase


Field Summary
static int DEFAULT_SHARE_KBPS
           
static java.lang.String PROP_I2NP_NTCP_AUTO_IP
           
static java.lang.String PROP_I2NP_NTCP_AUTO_PORT
           
static java.lang.String PROP_I2NP_NTCP_HOSTNAME
          copied from various private components
static java.lang.String PROP_I2NP_NTCP_PORT
           
 
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out
 
Constructor Summary
ConfigNetHelper()
           
 
Method Summary
 java.lang.String[] getAddresses()
           
 java.lang.String getChecked(java.lang.String prop)
           
 java.lang.String getConfiguredUdpPort()
           
 java.lang.String getDynamicKeysChecked()
           
 java.lang.String getEnableLoadTesting()
          removed
 java.lang.String getEnableTimeSyncChecked()
           
 java.lang.String getInboundBurstFactorBox()
           
 java.lang.String getInboundBurstRate()
           
 java.lang.String getInboundRate()
           
 java.lang.String getInboundRateBits()
           
 java.lang.String getLaptopChecked()
           
 java.lang.String getNtcphostname()
           
 java.lang.String getNtcpport()
           
 java.lang.String getOutboundBurstFactorBox()
           
 java.lang.String getOutboundBurstRate()
           
 java.lang.String getOutboundRate()
           
 java.lang.String getOutboundRateBits()
           
 java.lang.String getRequireIntroductionsChecked()
           
 int getShareBandwidth()
           
 java.lang.String getSharePercentageBox()
           
 java.lang.String getShareRateBits()
           
 java.lang.String getTcpAutoIPChecked(int mode)
           
 java.lang.String getTcpAutoPortChecked(int mode)
           
 java.lang.String getUdpAddress()
           
 java.lang.String getUdpAutoIPChecked(int mode)
           
 java.lang.String getUdphostname()
           
 java.lang.String getUdpIP()
           
 java.lang.String getUdpPort()
           
 java.lang.String getUpnpChecked()
          default true
 
Methods inherited from class net.i2p.router.web.HelperBase
_, _, _, _, _x, setContextId, setWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_I2NP_NTCP_HOSTNAME

public static final java.lang.String PROP_I2NP_NTCP_HOSTNAME
copied from various private components

See Also:
Constant Field Values

PROP_I2NP_NTCP_PORT

public static final java.lang.String PROP_I2NP_NTCP_PORT
See Also:
Constant Field Values

PROP_I2NP_NTCP_AUTO_PORT

public static final java.lang.String PROP_I2NP_NTCP_AUTO_PORT
See Also:
Constant Field Values

PROP_I2NP_NTCP_AUTO_IP

public static final java.lang.String PROP_I2NP_NTCP_AUTO_IP
See Also:
Constant Field Values

DEFAULT_SHARE_KBPS

public static final int DEFAULT_SHARE_KBPS
See Also:
Constant Field Values
Constructor Detail

ConfigNetHelper

public ConfigNetHelper()
Method Detail

getUdphostname

public java.lang.String getUdphostname()

getNtcphostname

public java.lang.String getNtcphostname()

getNtcpport

public java.lang.String getNtcpport()

getUdpAddress

public java.lang.String getUdpAddress()

getUdpIP

public java.lang.String getUdpIP()

getUdpPort

public java.lang.String getUdpPort()

getConfiguredUdpPort

public java.lang.String getConfiguredUdpPort()

getEnableTimeSyncChecked

public java.lang.String getEnableTimeSyncChecked()

getChecked

public java.lang.String getChecked(java.lang.String prop)
Parameters:
prop - must default to false

getDynamicKeysChecked

public java.lang.String getDynamicKeysChecked()

getLaptopChecked

public java.lang.String getLaptopChecked()

getTcpAutoPortChecked

public java.lang.String getTcpAutoPortChecked(int mode)

getTcpAutoIPChecked

public java.lang.String getTcpAutoIPChecked(int mode)

getUdpAutoIPChecked

public java.lang.String getUdpAutoIPChecked(int mode)

getUpnpChecked

public java.lang.String getUpnpChecked()
default true


getRequireIntroductionsChecked

public java.lang.String getRequireIntroductionsChecked()

getAddresses

public java.lang.String[] getAddresses()

getInboundRate

public java.lang.String getInboundRate()

getOutboundRate

public java.lang.String getOutboundRate()

getInboundRateBits

public java.lang.String getInboundRateBits()

getOutboundRateBits

public java.lang.String getOutboundRateBits()

getShareRateBits

public java.lang.String getShareRateBits()

getInboundBurstRate

public java.lang.String getInboundBurstRate()

getOutboundBurstRate

public java.lang.String getOutboundBurstRate()

getInboundBurstFactorBox

public java.lang.String getInboundBurstFactorBox()

getOutboundBurstFactorBox

public java.lang.String getOutboundBurstFactorBox()

getEnableLoadTesting

public java.lang.String getEnableLoadTesting()
removed


getSharePercentageBox

public java.lang.String getSharePercentageBox()

getShareBandwidth

public int getShareBandwidth()