com.koushikdutta.async.future.FutureCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of androidasync Show documentation
Show all versions of androidasync Show documentation
Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
package com.koushikdutta.async.future;
/**
* Created by koush on 5/20/13.
*/
public interface FutureCallback {
/**
* onCompleted is called by the Future with the result or exception of the asynchronous operation.
* @param e Exception encountered by the operation
* @param result Result returned from the operation
*/
public void onCompleted(Exception e, T result);
}