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

com.koushikdutta.async.DataTrackingEmitter 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;

/**
 * Created by koush on 5/28/13.
 */
public interface DataTrackingEmitter extends DataEmitter {
    public interface DataTracker {
        void onData(int totalBytesRead);
    }
    void setDataTracker(DataTracker tracker);
    DataTracker getDataTracker();
    int getBytesRead();
    void setDataEmitter(DataEmitter emitter);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy