roboguice.event.eventListener
Class RunnableAsyncTaskAdaptor

java.lang.Object
  extended by roboguice.util.SafeAsyncTask<Void>
      extended by roboguice.event.eventListener.RunnableAsyncTaskAdaptor
All Implemented Interfaces:
Callable<Void>

public class RunnableAsyncTaskAdaptor
extends SafeAsyncTask<Void>

Adaptor between the SafeAsyncTask class and provided Runnable.

Author:
John Ericksen

Nested Class Summary
 
Nested classes/interfaces inherited from class roboguice.util.SafeAsyncTask
SafeAsyncTask.Task<ResultT>
 
Field Summary
protected  Runnable runnable
           
 
Fields inherited from class roboguice.util.SafeAsyncTask
DEFAULT_EXECUTOR, DEFAULT_POOL_SIZE, executor, future, handler, launchLocation
 
Constructor Summary
RunnableAsyncTaskAdaptor(android.os.Handler handler, Runnable runnable)
           
RunnableAsyncTaskAdaptor(Runnable runnable)
           
 
Method Summary
 Void call()
           
 
Methods inherited from class roboguice.util.SafeAsyncTask
cancel, execute, execute, executor, executor, future, handler, handler, newTask, onException, onFinally, onInterrupted, onPreExecute, onSuccess, onThrowable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runnable

protected Runnable runnable
Constructor Detail

RunnableAsyncTaskAdaptor

public RunnableAsyncTaskAdaptor(Runnable runnable)

RunnableAsyncTaskAdaptor

public RunnableAsyncTaskAdaptor(android.os.Handler handler,
                                Runnable runnable)
Method Detail

call

public Void call()
          throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.