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:
java.lang.Runnable
Enclosing class:
SubProcessSimulationLauncher

protected class SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread
extends java.lang.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
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  SimulationControl control
           
protected  java.io.InputStream out
           
protected  java.lang.Process process
           
protected  java.lang.String simulationId
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread(SimulationControl control, java.lang.String simulationId, java.lang.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 java.lang.String simulationId

process

protected java.lang.Process process

out

protected java.io.InputStream out
Constructor Detail

SubProcessSimulationLauncher.SimulationCheckpointExternalProcessThread

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

run

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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.