// Path: wcs-android-sdk/src/main/java/com/chinanetcenter/wcs/android/internal/WcsCompletedCallback.java
// public interface WcsCompletedCallback<T1, T2 extends WcsResult> {
//     public void onSuccess(T1 request, T2 result);
// 
//     public void onFailure(T1 request, OperationMessage operationMessage);
// //    public void onFailure(T1 request, Exception e);
// }
// 
// Path: wcs-android-sdk/src/main/java/com/chinanetcenter/wcs/android/internal/WcsProgressCallback.java
// public interface WcsProgressCallback<T> {
//     public void onProgress(T request, long currentSize, long totalSize);
// }


import com.chinanetcenter.wcs.android.internal.WcsCompletedCallback;
import com.chinanetcenter.wcs.android.internal.WcsProgressCallback;
import okhttp3.OkHttpClient;
package com.chinanetcenter.wcs.android.network;



/**
 * @author :wangjm1
 * @version :1.0
 * @package : com.chinanetcenter.wcs.android.network
 * @class : ${CLASS_NAME}
 * @time : 2017/5/10 ${ITME}
 * @description :TODO
 */
public class ExecutionContext<T> {
    private T request;
    private OkHttpClient client;
    private CancellationHandler cancellationHandler;

    private WcsCompletedCallback completedCallback;
// Path: wcs-android-sdk/src/main/java/com/chinanetcenter/wcs/android/internal/WcsCompletedCallback.java
// public interface WcsCompletedCallback<T1, T2 extends WcsResult> {
//     public void onSuccess(T1 request, T2 result);
// 
//     public void onFailure(T1 request, OperationMessage operationMessage);
// //    public void onFailure(T1 request, Exception e);
// }
// 
// Path: wcs-android-sdk/src/main/java/com/chinanetcenter/wcs/android/internal/WcsProgressCallback.java
// public interface WcsProgressCallback<T> {
//     public void onProgress(T request, long currentSize, long totalSize);
// }


// Path: wcs-android-sdk/src/main/java/com/chinanetcenter/wcs/android/network/ExecutionContext.java
import com.chinanetcenter.wcs.android.internal.WcsCompletedCallback;
import com.chinanetcenter.wcs.android.internal.WcsProgressCallback;
import okhttp3.OkHttpClient;

package com.chinanetcenter.wcs.android.network;



/**
 * @author :wangjm1
 * @version :1.0
 * @package : com.chinanetcenter.wcs.android.network
 * @class : ${CLASS_NAME}
 * @time : 2017/5/10 ${ITME}
 * @description :TODO
 */
public class ExecutionContext<T> {
    private T request;
    private OkHttpClient client;
    private CancellationHandler cancellationHandler;

    private WcsCompletedCallback completedCallback;
    private WcsProgressCallback progressCallback;