com.stimulsoft.base.worker
Class StiSimpleWorker

java.lang.Object
  extended by com.stimulsoft.base.worker.StiSimpleWorker

public abstract class StiSimpleWorker
extends java.lang.Object

Simple thread worker Copyright Stimulsoft


Constructor Summary
StiSimpleWorker()
           
 
Method Summary
protected abstract  void doInBackground()
          Work the do in thread
 void execute()
          Execute work in thread
protected  void finished()
          Finally work
 void stop()
          Interrupt thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiSimpleWorker

public StiSimpleWorker()
Method Detail

doInBackground

protected abstract void doInBackground()
                                throws java.lang.Throwable
Work the do in thread

Throws:
java.lang.Throwable

finished

protected void finished()
Finally work


execute

public void execute()
Execute work in thread


stop

public void stop()
Interrupt thread



Copyright © 2018 Stimulsoft. All Rights Reserved.