ip1.ex14
Class JFtpControl.IdleTask

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--ip1.ex14.JFtpControl.IdleTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
JFtpControl

class JFtpControl.IdleTask
extends java.util.TimerTask

A TimerTask to watch inactivity on a JFtpControlThread.

See Also:
JFtpControl.queueNoop(), JFtpThread.queueShutdown()

Field Summary
(package private)  JFtp jftp
           
(package private)  JFtpControl thread
           
 
Fields inherited from class java.util.TimerTask
 
Constructor Summary
JFtpControl.IdleTask(JFtpControl thread)
          The constuctor.
 
Method Summary
 void run()
          Triggered where the Timer reaches its limit.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thread

JFtpControl thread

jftp

JFtp jftp
Constructor Detail

JFtpControl.IdleTask

public JFtpControl.IdleTask(JFtpControl thread)
The constuctor.

Parameters:
thread - the JFtpControl thread we are watching.
Method Detail

run

public void run()
Triggered where the Timer reaches its limit.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask
See Also:
JFtpControl.run()