com.mindbright.sshcommon
Class SSHFileTransferGUIThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.mindbright.sshcommon.SSHFileTransferGUIThread
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, Progress, java.lang.Runnable, SSHFileTransferProgress

public final class SSHFileTransferGUIThread
extends java.lang.Thread
implements SSHFileTransferProgress, java.awt.event.ActionListener


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SSHFileTransferGUIThread(MindTermApp client, SSHFileTransfer fileXfer, java.lang.String[] localFileList, java.lang.String[] remoteFileList, boolean recursive, boolean background, boolean toRemote, SSHFileTransferDialog xferDialog)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void endDir()
           
 void endFile()
           
 void progress(int size)
           
 void run()
           
 void startDir(java.lang.String file)
           
 void startFile(java.lang.String file, long size)
           
 
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, 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

SSHFileTransferGUIThread

public SSHFileTransferGUIThread(MindTermApp client,
                                SSHFileTransfer fileXfer,
                                java.lang.String[] localFileList,
                                java.lang.String[] remoteFileList,
                                boolean recursive,
                                boolean background,
                                boolean toRemote,
                                SSHFileTransferDialog xferDialog)
                         throws java.lang.Exception
Method Detail

run

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

startFile

public void startFile(java.lang.String file,
                      long size)
Specified by:
startFile in interface SSHFileTransferProgress

startDir

public void startDir(java.lang.String file)
Specified by:
startDir in interface SSHFileTransferProgress

endFile

public void endFile()
Specified by:
endFile in interface SSHFileTransferProgress

endDir

public void endDir()
Specified by:
endDir in interface SSHFileTransferProgress

progress

public void progress(int size)
Specified by:
progress in interface Progress

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener