|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.update.AbstractRemoteUpdateInfo
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 |
protected final java.lang.String DIRECTIVE
protected final java.lang.String MESSAGE_TO_DISPLAY
protected final java.lang.String UPDATE_URL
protected final java.lang.String UPDATE_CLASSPATH
protected final java.lang.String UPDATE_MAIN_CLASS
protected final java.lang.String NO_UPDATE_STRING
protected final java.lang.String UPDATE_JAR_STRING
protected final java.lang.String UPDATE_ADS_STRING
protected final java.lang.String OPEN_WEB_PAGE_STRING
protected final java.lang.String DISPLAY_MESSAGE_STRING
Constructor Detail |
protected AbstractRemoteUpdateInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |