com.threerings.getdown.launcher
Class Getdown

java.lang.Object
  extended by java.lang.Thread
      extended by com.threerings.getdown.launcher.Getdown
All Implemented Interfaces:
Application.StatusDisplay, ImageLoader, Runnable

public abstract class Getdown
extends Thread
implements Application.StatusDisplay, ImageLoader

Manages the main control for the Getdown application updater and deployment system.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Getdown(File appDir, String appId)
           
Getdown(File appDir, String appId, List<Certificate> signers, String[] jvmargs, String[] appargs)
           
 
Method Summary
 void configureProxy(String host, String port)
          Configures our proxy settings (called by ProxyPanel) and fires up the launcher.
 BufferedImage loadImage(String path)
          Load the image at the path.
static void main(String[] args)
           
 void preInit()
          This is used by the applet which always needs a user interface and wants to load it as soon as possible.
 void run()
           
 void updateStatus(String message)
          Requests that the specified status message be displayed.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Getdown

public Getdown(File appDir,
               String appId)

Getdown

public Getdown(File appDir,
               String appId,
               List<Certificate> signers,
               String[] jvmargs,
               String[] appargs)
Method Detail

main

public static void main(String[] args)

preInit

public void preInit()
This is used by the applet which always needs a user interface and wants to load it as soon as possible.


run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

configureProxy

public void configureProxy(String host,
                           String port)
Configures our proxy settings (called by ProxyPanel) and fires up the launcher.


updateStatus

public void updateStatus(String message)
Description copied from interface: Application.StatusDisplay
Requests that the specified status message be displayed.

Specified by:
updateStatus in interface Application.StatusDisplay

loadImage

public BufferedImage loadImage(String path)
Load the image at the path. Before trying the exact path/file specified we will look to see if we can find a localized version by sticking a _ in front of the "." in the filename.

Specified by:
loadImage in interface ImageLoader


Copyright © 2013. All Rights Reserved.