org.utgenome.gwt.utgb.client.util
Class Worker

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.util.Worker
All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand, com.google.gwt.user.client.Command

public abstract class Worker
extends Object
implements com.google.gwt.user.client.Command


Nested Class Summary
 class Worker.WorkerCallback
           
 
Constructor Summary
Worker(WorkQueue workQueue, com.google.gwt.user.client.Command command)
           
 
Method Summary
abstract  void execute()
           
 void handleFailure(Throwable caught)
           
 void handleSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Worker

public Worker(WorkQueue workQueue,
              com.google.gwt.user.client.Command command)
Method Detail

execute

public abstract void execute()
Specified by:
execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommand
Specified by:
execute in interface com.google.gwt.user.client.Command

handleFailure

public void handleFailure(Throwable caught)

handleSuccess

public void handleSuccess()


Copyright © 2007-2012 utgenome.org. All Rights Reserved.