Back to project page android-uds.
The source code is released under:
MIT License
If you think the Android project android-uds 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 org.imazlwifu.uds.rpc; // w w w.j a va2 s . co m import android.os.AsyncTask; import android.util.Log; /** * AsyncTask that sends data of given <code>RemoteConnection</code>s to <code>RemoteAddress</code>. * @author Sascha Eiteneuer * */ public class DataPublisher extends AsyncTask<RemoteConnection, Void, Void> { @Override protected Void doInBackground(RemoteConnection... params) { Log.d( "DataPublisher", "publishing" ); for( RemoteConnection rc : params ) { rc.publishData(); } return null; } }