net.i2p.i2ptunnel.web
Class EditBean

java.lang.Object
  extended by net.i2p.i2ptunnel.web.IndexBean
      extended by net.i2p.i2ptunnel.web.EditBean

public class EditBean
extends IndexBean

Ugly little accessor for the edit page Warning - This class is not part of the i2ptunnel API, and at some point it will be moved from the jar to the war. Usage by classes outside of i2ptunnel.war is deprecated.


Field Summary
 
Fields inherited from class net.i2p.i2ptunnel.web.IndexBean
_context, _group, _log, _noShowSet, CLIENT_NICKNAME, DEFAULT_THEME, NOT_RUNNING, PROP_CSS_DISABLED, PROP_JS_DISABLED, PROP_NONCE, PROP_NONCE_OLD, PROP_THEME_NAME, PROP_TUNNEL_PASSPHRASE, RUNNING, STANDBY, STARTING
 
Constructor Summary
EditBean()
           
 
Method Summary
 boolean getAccess(int tunnel)
           
 java.lang.String getAccessList(int tunnel)
           
 int getCert(int tunnel)
           
 boolean getClose(int tunnel)
           
 int getCloseTime(int tunnel)
           
 java.lang.String getCustomOptions(int tunnel)
           
 boolean getDelayOpen(int tunnel)
           
 int getEffort(int tunnel)
           
 boolean getEncrypt(int tunnel)
           
 java.lang.String getEncryptKey(int tunnel)
           
 java.lang.String getI2CPHost(int tunnel)
           
 java.lang.String getI2CPPort(int tunnel)
           
 boolean getNewDest(int tunnel)
           
 boolean getPersistentClientKey(int tunnel)
           
 java.lang.String getPrivateKeyFile(int tunnel)
           
 boolean getReduce(int tunnel)
           
 int getReduceCount(int tunnel)
           
 int getReduceTime(int tunnel)
           
 java.lang.String getSigner(int tunnel)
           
 java.lang.String getSpoofedHost(int tunnel)
           
 java.lang.String getTargetHost(int tunnel)
           
 java.lang.String getTargetPort(int tunnel)
           
 int getTunnelBackupQuantity(int tunnel, int defaultBackupQuantity)
           
 int getTunnelDepth(int tunnel, int defaultLength)
           
 int getTunnelQuantity(int tunnel, int defaultQuantity)
           
 int getTunnelVariance(int tunnel, int defaultVariance)
           
 boolean isInteractive(int tunnel)
           
 boolean isSharedClient(int tunnel)
           
 boolean shouldDelay(int tunnel)
           
 boolean startAutomatically(int tunnel)
           
static boolean staticIsClient(int tunnel)
           
 
Methods inherited from class net.i2p.i2ptunnel.web.IndexBean
allowCSS, allowJS, getClientDestination, getClientInterface, getClientPort, getController, getDestHashBase32, getDestinationBase64, getInternalType, getMessages, getNextNonce, getServerTarget, getSharedClient, getTheme, getTunnelCount, getTunnelDescription, getTunnelName, getTunnelStatus, getTunnelType, getType, getTypeName, isClient, isClient, setAccess, setAccessList, setAction, setCert, setClientHost, setClientport, setClose, setCloseTime, setConnectDelay, setCustomOptions, setDelayOpen, setDescription, setEffort, setEncrypt, setEncryptKey, setName, setNewDest, setNonce, setPassphrase, setPort, setPrivKeyFile, setProfile, setProxyList, setReachableBy, setReachableByOther, setReduce, setReduceCount, setReduceTime, setRemoveConfirm, setShared, setShared, setSigner, setSpoofedHost, setStartOnLoad, setTargetDestination, setTargetHost, setTargetPort, setTunnel, setTunnelBackupQuantity, setTunnelDepth, setTunnelQuantity, setTunnelVariance, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditBean

public EditBean()
Method Detail

staticIsClient

public static boolean staticIsClient(int tunnel)

getTargetHost

public java.lang.String getTargetHost(int tunnel)

getTargetPort

public java.lang.String getTargetPort(int tunnel)

getSpoofedHost

public java.lang.String getSpoofedHost(int tunnel)

getPrivateKeyFile

public java.lang.String getPrivateKeyFile(int tunnel)

startAutomatically

public boolean startAutomatically(int tunnel)

isSharedClient

public boolean isSharedClient(int tunnel)

shouldDelay

public boolean shouldDelay(int tunnel)

isInteractive

public boolean isInteractive(int tunnel)

getTunnelDepth

public int getTunnelDepth(int tunnel,
                          int defaultLength)

getTunnelQuantity

public int getTunnelQuantity(int tunnel,
                             int defaultQuantity)

getTunnelBackupQuantity

public int getTunnelBackupQuantity(int tunnel,
                                   int defaultBackupQuantity)

getTunnelVariance

public int getTunnelVariance(int tunnel,
                             int defaultVariance)

getReduce

public boolean getReduce(int tunnel)

getReduceCount

public int getReduceCount(int tunnel)

getReduceTime

public int getReduceTime(int tunnel)

getCert

public int getCert(int tunnel)

getEffort

public int getEffort(int tunnel)

getSigner

public java.lang.String getSigner(int tunnel)

getEncrypt

public boolean getEncrypt(int tunnel)

getEncryptKey

public java.lang.String getEncryptKey(int tunnel)

getAccess

public boolean getAccess(int tunnel)

getAccessList

public java.lang.String getAccessList(int tunnel)

getClose

public boolean getClose(int tunnel)

getCloseTime

public int getCloseTime(int tunnel)

getNewDest

public boolean getNewDest(int tunnel)

getPersistentClientKey

public boolean getPersistentClientKey(int tunnel)

getDelayOpen

public boolean getDelayOpen(int tunnel)

getI2CPHost

public java.lang.String getI2CPHost(int tunnel)

getI2CPPort

public java.lang.String getI2CPPort(int tunnel)

getCustomOptions

public java.lang.String getCustomOptions(int tunnel)