Package VASSAL.launch
Class AbstractLaunchAction.LaunchTask
- All Implemented Interfaces:
Runnable,Future<Void>,RunnableFuture<Void>
- Enclosing class:
- AbstractLaunchAction
protected class AbstractLaunchAction.LaunchTask extends SwingWorker<Void,Void>
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue -
Field Summary
Fields Modifier and Type Field Description protected SocketclientSocketprotected intidprotected IPCMessengeripcprotected LaunchRequestlrprotected ServerSocketserverSocket -
Constructor Summary
Constructors Modifier Constructor Description protectedLaunchTask() -
Method Summary
Modifier and Type Method Description VoiddoInBackground()protected voiddone()protected intgetHeapSize(Prefs p, String key, int defaultHeap)protected intgetHeapSize(ReadOnlyPrefs p, String key, int defaultHeap)Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
-
Field Details
-
id
protected final int id -
lr
-
serverSocket
-
clientSocket
-
ipc
-
-
Constructor Details
-
LaunchTask
protected LaunchTask()
-
-
Method Details
-
doInBackground
- Specified by:
doInBackgroundin classSwingWorker<Void,Void>- Throws:
InterruptedExceptionIOException
-
getHeapSize
-
getHeapSize
-
done
protected void done()- Overrides:
donein classSwingWorker<Void,Void>
-