com.isti.util
Class StreamTransferThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.isti.util.IstiThread
          extended bycom.isti.util.StreamTransferThread
All Implemented Interfaces:
java.lang.Runnable

class StreamTransferThread
extends IstiThread

Stream transfer thread.


Field Summary
 
Fields inherited from class com.isti.util.IstiThread
DEFAULT_TERMINATE_WAIT_TIME, terminateFlag
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) StreamTransferThread(java.io.InputStream inputStreamObj, java.io.OutputStream outputStreamObj, CallBackCompletion callBack)
          Creates a file copy thread.
 
Method Summary
 void run()
          Runs the connect thread.
 
Methods inherited from class com.isti.util.IstiThread
clearThreadWaitNotifyFlag, isTerminated, nextThreadNum, notifyThread, start, terminate, terminate, waitForNotify, waitForNotify, waitForTerminate, waitForTerminate, wasStarted
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamTransferThread

StreamTransferThread(java.io.InputStream inputStreamObj,
                     java.io.OutputStream outputStreamObj,
                     CallBackCompletion callBack)
Creates a file copy thread.

Parameters:
inputStreamObj - the input stream.
outputStreamObj - the output stream.
callBack - callback method or null if callback not needed.
Method Detail

run

public void run()
Runs the connect thread.