fr.ifremer.isisfish.simulator.launcher
Class SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread

java.lang.Object
  extended by java.lang.Thread
      extended by fr.ifremer.isisfish.simulator.launcher.SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread
All Implemented Interfaces:
Runnable
Enclosing class:
SubProcessSimulationLauncher

protected class SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread
extends Thread

This thread is responsible to synchronized SimulationControl used locally with remote simulation control for remote simulation. This thread dead when SimulationControl.isRunning() is false

Author:
poussin

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  SimulationControl control
           
protected  InputStream out
           
protected  Process process
           
protected  String simulationId
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread(SimulationControl control, String simulationId, Process process)
           
 
Method Summary
 void run()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

control

protected SimulationControl control

simulationId

protected String simulationId

process

protected Process process

out

protected InputStream out
Constructor Detail

SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread

public SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread(SimulationControl control,
                                                                              String simulationId,
                                                                              Process process)
Method Detail

run

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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.