package com.tencent.mm.plugin.appbrand.jsapi.websocket;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.jsapi.websocket.d.a;
import com.tencent.mm.sdk.platformtools.ab;
import java.util.Timer;
import java.util.TimerTask;

class a$2 extends TimerTask {
    final /* synthetic */ e ibM;
    final /* synthetic */ a ibN;
    final /* synthetic */ a ibO;
    final /* synthetic */ Timer ibP;

    a$2(a aVar, e eVar, a aVar2, Timer timer) {
        this.ibO = aVar;
        this.ibM = eVar;
        this.ibN = aVar2;
        this.ibP = timer;
    }

    public final void run() {
        AppMethodBeat.i(108085);
        ab.e("MicroMsg.AppBrandNetworkWcWssSocket", "connect response time out taskid:%s", new Object[]{this.ibM.aBA()});
        this.ibM.close();
        a.a(this.ibO, this.ibM);
        this.ibN.zJ("connect response time out");
        cancel();
        this.ibP.cancel();
        AppMethodBeat.o(108085);
    }
}
