goldengate.ftp.core.utils
Class FtpTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by goldengate.ftp.core.utils.FtpTimerTask
All Implemented Interfaces:
Runnable

public class FtpTimerTask
extends TimerTask

Timer Task used mainly when the server is going to shutdown in order to be sure the program exit.

Author:
Frederic Bregier

Field Summary
 FtpConfiguration configuration
          Configuration
static int TIMER_CONTROL
          Finalize Control connection
static int TIMER_EXIT
          EXIT type (System.exit(1))
 
Constructor Summary
FtpTimerTask(int type)
          Constructor from type
 
Method Summary
 void run()
           
 
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

TIMER_EXIT

public static final int TIMER_EXIT
EXIT type (System.exit(1))

See Also:
Constant Field Values

TIMER_CONTROL

public static final int TIMER_CONTROL
Finalize Control connection

See Also:
Constant Field Values

configuration

public FtpConfiguration configuration
Configuration

Constructor Detail

FtpTimerTask

public FtpTimerTask(int type)
Constructor from type

Parameters:
type -
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.