|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.settings.AbstractSettings
com.limegroup.gnutella.settings.LimeProps
com.limegroup.gnutella.settings.ConnectionSettings
Settings for Gnutella TCP connections.
Field Summary | |
static BooleanSetting |
ACCEPT_DEFLATE
Setting for whether or not we'll accept incoming connections that are compressed via deflate. |
static BooleanSetting |
ALLOW_MULTICAST_LOOPBACK
Setting for whether or not to allow multicast message loopback. |
static StringSetting |
CONNECT_OK_STRING
|
static BooleanSetting |
CONNECT_ON_STARTUP
Settings for whether or not to automatically connect to the network on startup. |
static StringSetting |
CONNECT_STRING
|
static java.lang.String |
CONNECT_STRING_FIRST_WORD
|
static IntSetting |
CONNECTION_SPEED
The connection speed in kbyte/s |
static BooleanSetting |
ENCODE_DEFLATE
Setting for whether or not we'll encode outgoing connections via deflate. |
static BooleanSetting |
EVER_ACCEPTED_INCOMING
Settings for whether or not an incoming connection has ever been accepted. |
static BooleanSetting |
FORCE_IP_ADDRESS
Sets whether or not the users ip address should be forced to the value they have entered. |
static StringSetting |
FORCED_IP_ADDRESS_STRING
Forces IP address to the given address. |
static IntSetting |
FORCED_PORT
The port to use when forcing the ip address. |
static BooleanSetting |
IGNORE_KEEP_ALIVE
Setting for whether or not the keep alive setting should be ignored -- used for testing. |
static BooleanSetting |
LOCAL_IS_PRIVATE
Settings for whether or not to local addresses should be considered private, and therefore ignored when connecting |
static StringSetting |
MULTICAST_ADDRESS
Setting for the multicast address. |
static IntSetting |
MULTICAST_PORT
Setting for the multicast port. |
static IntSetting |
NUM_CONNECTIONS
Settings for the number of connections to maintain. |
static IntSetting |
PORT
The port to connect on |
static BooleanSetting |
PREFERENCING_ACTIVE
Setting for whether or not to use connection preferencing -- used primarily for testing. |
static BooleanSetting |
REMOVE_ENABLED
Setting for whether or not the removal of connections should be allowed -- used for testing. |
static BooleanSetting |
SHOW_KEEP_ALIVE
Setting for whether or not to show the keep alive in the UI. |
static ByteSetting |
SOFT_MAX
Setting for the "soft max" ttl. |
static ByteSetting |
TTL
The time to live. |
static BooleanSetting |
USE_GWEBCACHE
Setting for whether or not to connect using GWebCache. |
static BooleanSetting |
USE_NIO
Setting for whether or not to use NIO for network IO. |
static BooleanSetting |
WATCHDOG_ACTIVE
Setting for whether or not to activate the connection watchdog thread. |
Fields inherited from class com.limegroup.gnutella.settings.LimeProps |
FACTORY |
Method Summary | |
static int |
getMaxConnections()
Helper method left from Settings Manager Returns the maximum number of connections for the given connection speed. |
Methods inherited from class com.limegroup.gnutella.settings.LimeProps |
instance |
Methods inherited from class com.limegroup.gnutella.settings.AbstractSettings |
getFactory, getProperties, getPropertiesFile, getShouldSave, reload, revertToDefault, save, setShouldSave |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final BooleanSetting EVER_ACCEPTED_INCOMING
public static final BooleanSetting CONNECT_ON_STARTUP
public static final IntSetting NUM_CONNECTIONS
public static final ByteSetting SOFT_MAX
ttl + hops > SOFT_MAX
If this is the case, the TTL is set to SOFT_MAX - hops.
public static final BooleanSetting LOCAL_IS_PRIVATE
public static final BooleanSetting USE_GWEBCACHE
public static final BooleanSetting WATCHDOG_ACTIVE
public static final StringSetting MULTICAST_ADDRESS
public static final IntSetting MULTICAST_PORT
public static final BooleanSetting ALLOW_MULTICAST_LOOPBACK
public static final BooleanSetting PREFERENCING_ACTIVE
public static final BooleanSetting REMOVE_ENABLED
public static final BooleanSetting IGNORE_KEEP_ALIVE
public static final BooleanSetting SHOW_KEEP_ALIVE
public static final BooleanSetting ACCEPT_DEFLATE
public static final BooleanSetting ENCODE_DEFLATE
public static final ByteSetting TTL
public static final IntSetting CONNECTION_SPEED
public static final IntSetting PORT
public static final BooleanSetting FORCE_IP_ADDRESS
public static final StringSetting FORCED_IP_ADDRESS_STRING
public static final IntSetting FORCED_PORT
public static final java.lang.String CONNECT_STRING_FIRST_WORD
public static final StringSetting CONNECT_STRING
public static final StringSetting CONNECT_OK_STRING
public static final BooleanSetting USE_NIO
Method Detail |
public static final int getMaxConnections()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |