com.limegroup.gnutella.update
Class AbstractLocalUpdateInfo

java.lang.Object
  extended bycom.limegroup.gnutella.update.AbstractLocalUpdateInfo
Direct Known Subclasses:
ServletLocalUpdateInfo

public abstract class AbstractLocalUpdateInfo
extends java.lang.Object

This class maintains protected constants and variables for ServletLocalUpdateInfo and ClientLocalUpdateInfo, the classes that contain the data for the client machine requesting the update. This class simply ensures that they are using the same values.


Field Summary
protected  java.lang.String _adVersion
          Variable for the version of ads that the client is running.
protected  java.lang.String _averageUptime
          Variable for the average uptime of the client requesting the update.
protected  java.lang.String _everAcceptedIncoming
          Variable for whether or not the client requesting the update has ever accepted an incoming connection.
protected  java.lang.String _everSupernodeCapable
          Variable for whether or not the client requesting the update has ever qualified as meeting the requirements of a supernode.
protected  java.lang.String _guid
          String for the GUID for maintaining data on the servlet.
protected  java.lang.String _isPrivateIP
          Variable for whether or not the client requesting the update has a private ip address.
protected  java.lang.String _jvm
          String for the jvm.
protected  java.lang.String _limeWireVersion
          String for the version of the application.
protected  java.lang.String _maxDownstreamBytesPerSec
          Variable for the maximum recorded downstream bytes per second ever passed by this node.
protected  java.lang.String _maxUpstreamBytesPerSec
          Variable for the maximum recorded upstream bytes per second ever passed by this node.
protected  java.lang.String _os
          String for the operating system.
protected  java.lang.String ACCEPTED_INCOMING
          Constant String for the accepting incoming connections key.
protected  java.lang.String AD_VERSION
          Constant String for the ads version key.
protected  java.lang.String AVERAGE_UPTIME
          Constant String for the average uptime key.
protected  java.lang.String EVER_SUPERNODE
          Constant String for the key for ever having met all of the requirements for a supernode.
protected  java.lang.String GUID
          Constant String for the guid key.
protected  java.lang.String JVM
          Constant String for the JVM version key.
protected  java.lang.String LIMEWIRE_VERSION
          Constant String for the LimWire version key.
protected  java.lang.String MAX_DOWNSTREAM
          Constant String for the maximum recorded downstream bytes passed.
protected  java.lang.String MAX_UPSTREAM
          Constant String for the maximum recorded upstream bytes passed.
protected  java.lang.String OLD_JVM
          Constant String for the pre-LimeWire 1.8 JVM version key.
protected  java.lang.String OLD_LIMEWIRE_VERSION
          Constant String for the pre-LimeWire 1.8 LimWire version key.
protected  java.lang.String OLD_OS
          Constant String for the os key.
protected  java.lang.String OS
          Constant String for the os key.
protected  java.lang.String PRIVATE_IP
          Constant String for the private ip key.
 
Constructor Summary
protected AbstractLocalUpdateInfo()
          Constructor for creating a local update info object with none of the fields initially set.
 
Method Summary
 java.lang.String toString()
          Returns the data contained in this object as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OLD_OS

protected final java.lang.String OLD_OS
Constant String for the os key.

See Also:
Constant Field Values

OLD_LIMEWIRE_VERSION

protected final java.lang.String OLD_LIMEWIRE_VERSION
Constant String for the pre-LimeWire 1.8 LimWire version key.

See Also:
Constant Field Values

OLD_JVM

protected final java.lang.String OLD_JVM
Constant String for the pre-LimeWire 1.8 JVM version key.

See Also:
Constant Field Values

OS

protected final java.lang.String OS
Constant String for the os key.

See Also:
Constant Field Values

LIMEWIRE_VERSION

protected final java.lang.String LIMEWIRE_VERSION
Constant String for the LimWire version key.

See Also:
Constant Field Values

JVM

protected final java.lang.String JVM
Constant String for the JVM version key.

See Also:
Constant Field Values

GUID

protected final java.lang.String GUID
Constant String for the guid key.

See Also:
Constant Field Values

ACCEPTED_INCOMING

protected final java.lang.String ACCEPTED_INCOMING
Constant String for the accepting incoming connections key.

See Also:
Constant Field Values

PRIVATE_IP

protected final java.lang.String PRIVATE_IP
Constant String for the private ip key.

See Also:
Constant Field Values

EVER_SUPERNODE

protected final java.lang.String EVER_SUPERNODE
Constant String for the key for ever having met all of the requirements for a supernode.

See Also:
Constant Field Values

MAX_UPSTREAM

protected final java.lang.String MAX_UPSTREAM
Constant String for the maximum recorded upstream bytes passed.

See Also:
Constant Field Values

MAX_DOWNSTREAM

protected final java.lang.String MAX_DOWNSTREAM
Constant String for the maximum recorded downstream bytes passed.

See Also:
Constant Field Values

AVERAGE_UPTIME

protected final java.lang.String AVERAGE_UPTIME
Constant String for the average uptime key.

See Also:
Constant Field Values

AD_VERSION

protected final java.lang.String AD_VERSION
Constant String for the ads version key.

See Also:
Constant Field Values

_os

protected java.lang.String _os
String for the operating system.


_limeWireVersion

protected java.lang.String _limeWireVersion
String for the version of the application.


_jvm

protected java.lang.String _jvm
String for the jvm.


_guid

protected java.lang.String _guid
String for the GUID for maintaining data on the servlet.


_everAcceptedIncoming

protected java.lang.String _everAcceptedIncoming
Variable for whether or not the client requesting the update has ever accepted an incoming connection.


_isPrivateIP

protected java.lang.String _isPrivateIP
Variable for whether or not the client requesting the update has a private ip address.


_everSupernodeCapable

protected java.lang.String _everSupernodeCapable
Variable for whether or not the client requesting the update has ever qualified as meeting the requirements of a supernode.


_averageUptime

protected java.lang.String _averageUptime
Variable for the average uptime of the client requesting the update.


_maxDownstreamBytesPerSec

protected java.lang.String _maxDownstreamBytesPerSec
Variable for the maximum recorded downstream bytes per second ever passed by this node.


_maxUpstreamBytesPerSec

protected java.lang.String _maxUpstreamBytesPerSec
Variable for the maximum recorded upstream bytes per second ever passed by this node.


_adVersion

protected java.lang.String _adVersion
Variable for the version of ads that the client is running.

Constructor Detail

AbstractLocalUpdateInfo

protected AbstractLocalUpdateInfo()
Constructor for creating a local update info object with none of the fields initially set. To create a useful LocalUpdateInfo object, all of the fields must be set.

Method Detail

toString

public java.lang.String toString()
Returns the data contained in this object as a string. This is used primarily in generating the servlet log.

Returns:
a String containing the data held in this object