com.limegroup.gnutella.update
Class AbstractRemoteUpdateInfo

java.lang.Object
  extended bycom.limegroup.gnutella.update.AbstractRemoteUpdateInfo
Direct Known Subclasses:
ClientRemoteUpdateInfo, ServletRemoteUpdateInfo

public abstract class AbstractRemoteUpdateInfo
extends java.lang.Object

This class supplies the update information from the servlet. It contains the update action to take. In contrast to LocalUpdateInfo, which is originally created on the client side and is reconstructed by the servlet based on the supplied url-encoded string, RemoteUpdateInfo is first constructed on the servlet side and is reconstructed on the client to extract the data necessary to perform the update.

When the RemoteUpdateInfo object is constructed on the client side, however, it does not simply replicate the object created in the servlet. Rather, it sets the appropriate update settings in the Updator object for the type of update being performed.


Field Summary
protected  java.lang.String DIRECTIVE
          Key identifying the directive to use for the update.
protected  java.lang.String DISPLAY_MESSAGE_STRING
          Directive for displaying a message to the user.
protected  java.lang.String MESSAGE_TO_DISPLAY
          Key name for the "message to display" value.
protected  java.lang.String NO_UPDATE_STRING
          Directive to ignore the update.
protected  java.lang.String OPEN_WEB_PAGE_STRING
          Directive for loading a web page.
protected  java.lang.String UPDATE_ADS_STRING
          Directive for updating the ads.
protected  java.lang.String UPDATE_CLASSPATH
          Constant for the classpath key.
protected  java.lang.String UPDATE_JAR_STRING
          Directive for updating one or more jar files.
protected  java.lang.String UPDATE_MAIN_CLASS
          Constant for the main class key.
protected  java.lang.String UPDATE_URL
          Key name for the url to load for either opening a web page or downloading a jar.
 
Constructor Summary
protected AbstractRemoteUpdateInfo()
          Constructor taking no arguments for use in constructing the AbstractRemoteUpdateInfo -- reserved for subclasses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTIVE

protected final java.lang.String DIRECTIVE
Key identifying the directive to use for the update.

See Also:
Constant Field Values

MESSAGE_TO_DISPLAY

protected final java.lang.String MESSAGE_TO_DISPLAY
Key name for the "message to display" value.

See Also:
Constant Field Values

UPDATE_URL

protected final java.lang.String UPDATE_URL
Key name for the url to load for either opening a web page or downloading a jar.

See Also:
Constant Field Values

UPDATE_CLASSPATH

protected final java.lang.String UPDATE_CLASSPATH
Constant for the classpath key. the classpath is the classpath that LimeWire will use to load the necessary files on startup.

See Also:
Constant Field Values

UPDATE_MAIN_CLASS

protected final java.lang.String UPDATE_MAIN_CLASS
Constant for the main class key. the main class is used to launch the application on startup.

See Also:
Constant Field Values

NO_UPDATE_STRING

protected final java.lang.String NO_UPDATE_STRING
Directive to ignore the update.

See Also:
Constant Field Values

UPDATE_JAR_STRING

protected final java.lang.String UPDATE_JAR_STRING
Directive for updating one or more jar files.

See Also:
Constant Field Values

UPDATE_ADS_STRING

protected final java.lang.String UPDATE_ADS_STRING
Directive for updating the ads.

See Also:
Constant Field Values

OPEN_WEB_PAGE_STRING

protected final java.lang.String OPEN_WEB_PAGE_STRING
Directive for loading a web page.

See Also:
Constant Field Values

DISPLAY_MESSAGE_STRING

protected final java.lang.String DISPLAY_MESSAGE_STRING
Directive for displaying a message to the user.

See Also:
Constant Field Values
Constructor Detail

AbstractRemoteUpdateInfo

protected AbstractRemoteUpdateInfo()
Constructor taking no arguments for use in constructing the AbstractRemoteUpdateInfo -- reserved for subclasses.