org.dfdaemon.il2.core.task
Interface CoreTask

All Known Implementing Classes:
AbstractCommandExecutor, BlockingQueueEventProcessor, FileLogParser, Il2DaemonTask, TelnetCommandExecutor

public interface CoreTask

Main core thread contract. All caller should guarantee to call preRun if no error run and then afterRun.

Author:
aka50

Method Summary
 void afterRun()
           
 void preRun()
           
 void run()
           
 

Method Detail

preRun

void preRun()
            throws Exception
Throws:
Exception

run

void run()
         throws Exception
Throws:
Exception

afterRun

void afterRun()
              throws InterruptedException
Throws:
InterruptedException


Copyright © 2007-2008. All Rights Reserved.