sod.util
Class Process

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--sod.util.Process
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class Process
extends java.lang.Thread
implements java.io.Serializable

Representation of a distributed process.

See Also:
Serialized Form

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Process(java.io.File classFile, java.lang.Class classRef, Processor processor)
           
 
Method Summary
 java.io.File getClassFile()
           
 java.lang.String getClassName()
           
 int getPID()
           
 Processor getProcessor()
           
 void init()
          Initialize the executable object.
 boolean isStarted()
           
 void resumeExecution()
           
 void run()
           
 void setProcessor(Processor processor)
           
 void stopExecution()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Constructor Detail

Process

public Process(java.io.File classFile,
               java.lang.Class classRef,
               Processor processor)
Method Detail

init

public void init()
Initialize the executable object.

getPID

public int getPID()

getClassFile

public java.io.File getClassFile()

getClassName

public java.lang.String getClassName()

getProcessor

public Processor getProcessor()

setProcessor

public void setProcessor(Processor processor)

run

public void run()
Overrides:
run in class java.lang.Thread

stopExecution

public void stopExecution()

resumeExecution

public void resumeExecution()

isStarted

public boolean isStarted()