// Path: BoincRpc/src/main/java/edu/berkeley/boinc/NetStats.java
// public interface NetStats {
//     public abstract void connectionOpened();
//     public abstract void bytesReceived(int numBytes);
//     public abstract void bytesTransferred(int numBytes);
//     public abstract void connectionClosed();
// }


import sk.boinc.androboinc.BuildConfig;
import sk.boinc.androboinc.clientconnection.ClientReplyReceiver;
import sk.boinc.androboinc.clientconnection.HostInfo;
import sk.boinc.androboinc.clientconnection.MessageInfo;
import sk.boinc.androboinc.clientconnection.ModeInfo;
import sk.boinc.androboinc.clientconnection.ConnectionManagerCallback.DisconnectCause;
import sk.boinc.androboinc.clientconnection.ConnectionManagerCallback.ProgressInd;
import sk.boinc.androboinc.clientconnection.ProjectInfo;
import sk.boinc.androboinc.clientconnection.TaskInfo;
import sk.boinc.androboinc.clientconnection.TransferInfo;
import sk.boinc.androboinc.clientconnection.VersionInfo;
import edu.berkeley.boinc.NetStats;
import sk.boinc.androboinc.util.ClientId;
import android.content.Context;
import android.os.ConditionVariable;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import java.util.Vector;
				public void run() {
					mBridgeReply.updatedTasks(callback, tasks);
				}
			});
		}

		public void updatedTransfers(final ClientReplyReceiver callback, final Vector <TransferInfo> transfers) {
			mBridgeReplyHandler.post(new Runnable() {
				@Override
				public void run() {
					mBridgeReply.updatedTransfers(callback, transfers);
				}
			});
		}

		public void updatedMessages(final ClientReplyReceiver callback, final Vector <MessageInfo> messages) {
			mBridgeReplyHandler.post(new Runnable() {
				@Override
				public void run() {
					mBridgeReply.updatedMessages(callback, messages);
				}
			});
		}
	}

	private ReplyHandler mReplyHandler;
	private ClientBridgeWorkerHandler mHandler;
	private ConditionVariable mLock;
	private ClientBridge.BridgeReply mBridgeReply;
	private Context mContext;
// Path: BoincRpc/src/main/java/edu/berkeley/boinc/NetStats.java
// public interface NetStats {
//     public abstract void connectionOpened();
//     public abstract void bytesReceived(int numBytes);
//     public abstract void bytesTransferred(int numBytes);
//     public abstract void connectionClosed();
// }


// Path: AndroBOINC/src/main/java/sk/boinc/androboinc/bridge/ClientBridgeWorkerThread.java
import sk.boinc.androboinc.BuildConfig;
import sk.boinc.androboinc.clientconnection.ClientReplyReceiver;
import sk.boinc.androboinc.clientconnection.HostInfo;
import sk.boinc.androboinc.clientconnection.MessageInfo;
import sk.boinc.androboinc.clientconnection.ModeInfo;
import sk.boinc.androboinc.clientconnection.ConnectionManagerCallback.DisconnectCause;
import sk.boinc.androboinc.clientconnection.ConnectionManagerCallback.ProgressInd;
import sk.boinc.androboinc.clientconnection.ProjectInfo;
import sk.boinc.androboinc.clientconnection.TaskInfo;
import sk.boinc.androboinc.clientconnection.TransferInfo;
import sk.boinc.androboinc.clientconnection.VersionInfo;
import edu.berkeley.boinc.NetStats;
import sk.boinc.androboinc.util.ClientId;
import android.content.Context;
import android.os.ConditionVariable;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import java.util.Vector;

				public void run() {
					mBridgeReply.updatedTasks(callback, tasks);
				}
			});
		}

		public void updatedTransfers(final ClientReplyReceiver callback, final Vector <TransferInfo> transfers) {
			mBridgeReplyHandler.post(new Runnable() {
				@Override
				public void run() {
					mBridgeReply.updatedTransfers(callback, transfers);
				}
			});
		}

		public void updatedMessages(final ClientReplyReceiver callback, final Vector <MessageInfo> messages) {
			mBridgeReplyHandler.post(new Runnable() {
				@Override
				public void run() {
					mBridgeReply.updatedMessages(callback, messages);
				}
			});
		}
	}

	private ReplyHandler mReplyHandler;
	private ClientBridgeWorkerHandler mHandler;
	private ConditionVariable mLock;
	private ClientBridge.BridgeReply mBridgeReply;
	private Context mContext;
	private NetStats mNetStats;