CEEX v1.0.1版本的 MD5 值为:d20246587215ec3471b0d051724c6d34
以下内容为反编译后的 c.java 源代码,内容仅作参考
package com.webank.facelight.wbanalytics;
import android.content.Context;
import com.webank.facelight.wbanalytics.EventSender;
import com.webank.mbank.wehttp2.WeLog;
import com.webank.mbank.wehttp2.WeOkHttp;
import com.webank.mbank.wehttp2.WeReq;
import com.webank.normal.tools.WLogger;
import java.io.IOException;
import java.util.List;
public class c {
private static c a;
private WeOkHttp b;
private c(Context context) {
WeOkHttp weOkHttp = new WeOkHttp();
this.b = weOkHttp;
weOkHttp.config().timeout(14L, 14L, 14L).log(WBAnalyticsConfig.isDebugEnable() ? WeLog.Level.BODY : WeLog.Level.NONE, new WeLog.Logger(this) {
@Override
public void log(String str) {
WLogger.d("ReportWBAEvents", str);
}
}).baseUrl("https://trace.webank.com/rcrm-codcs/mob-data-collect");
}
public static c a(Context context) {
if (a == null) {
synchronized (c.class) {
if (a == null) {
a = new c(context);
}
}
}
return a;
}
public void a(List<WBAEvent> list) {
EventSender.requestExec(this.b, list, new WeReq.Callback<EventSender.sendEventResponse>(this) {
@Override
public void onSuccess(WeReq weReq, EventSender.sendEventResponse sendeventresponse) {
WLogger.d("ReportWBAEvents", "onSuccess");
}
@Override
public void onFailed(WeReq weReq, WeReq.ErrType errType, int i, String str, IOException iOException) {
WLogger.d("ReportWBAEvents", "WBCF onFailed:" + errType + "," + i + "," + str);
}
@Override
public void onFinish() {
WLogger.d("ReportWBAEvents", "onFinish");
}
@Override
public void onStart(WeReq weReq) {
WLogger.d("ReportWBAEvents", "onStart");
}
});
}
}