All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.koushikdutta.async.future.FutureCallback Maven / Gradle / Ivy

Go to download

Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.

There is a newer version: 3.1.0
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy