Back to project page WhatsUp.
The source code is released under:
GNU General Public License
If you think the Android project WhatsUp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package nu.placebo.whatsup.network; //from w ww . j av a 2 s . co m /** * * Defines a common interface for network operation so they can be used in the * NetworkQueue. * */ public interface NetworkOperation<T> { public void addOperationListener(NetworkOperationListener<T> listener); public void notifyListeners(OperationResult<T> result); public OperationResult<T> execute(); public OperationResult<T> getResult(); public void setOperationResult(OperationResult<T> result); }