javatools.ftp
Class IncomingDataMonitor

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--javatools.ftp.IncomingDataMonitor
All Implemented Interfaces:
java.lang.Runnable

class IncomingDataMonitor
extends java.lang.Thread

A thread for downloading data from the host. Currently only used for downloading data retrieved via the list() method.


Field Summary
(package private)  FTPFactory ftpFactory
           
(package private)  java.net.ServerSocket ssock
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
IncomingDataMonitor(java.net.ServerSocket ssock, FTPFactory ftpFactory)
          Constructor for get file of remote host
 
Method Summary
 long dtaMonBytesTransf()
           
 void run()
          The thread's run method.
 
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
 

Field Detail

ssock

java.net.ServerSocket ssock

ftpFactory

FTPFactory ftpFactory
Constructor Detail

IncomingDataMonitor

public IncomingDataMonitor(java.net.ServerSocket ssock,
                           FTPFactory ftpFactory)
Constructor for get file of remote host

Method Detail

run

public void run()
The thread's run method.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

dtaMonBytesTransf

public long dtaMonBytesTransf()