public interface

AsyncCallable

org.anddev.andengine.util.AsyncCallable<T>

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

Public Methods
abstract void call(Callback<T> pCallback, Callback<Exception> pExceptionCallback)
Computes a result asynchronously, return values and exceptions are to be handled through the callbacks.

Public Methods

public abstract void call (Callback<T> pCallback, Callback<Exception> pExceptionCallback)

Computes a result asynchronously, return values and exceptions are to be handled through the callbacks. This method is expected to return almost immediately, after starting a Thread or similar.

Returns
  • computed result
Throws
Exception if unable to compute a result