27 lines
1.1 KiB
Java
27 lines
1.1 KiB
Java
package com.discord.gateway;
|
|
|
|
import c.d.b.a.a;
|
|
import com.discord.gateway.GatewaySocket;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: GatewaySocket.kt */
|
|
public final class GatewaySocket$connect$3 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ GatewaySocket this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public GatewaySocket$connect$3(GatewaySocket gatewaySocket) {
|
|
super(0);
|
|
this.this$0 = gatewaySocket;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
GatewaySocket gatewaySocket = this.this$0;
|
|
StringBuilder L = a.L("Connection timed out after ");
|
|
L.append(GatewaySocket.Companion.getDelay$default(GatewaySocket.Companion, GatewaySocket.access$getConnectionStartTime$p(this.this$0), null, 2, null));
|
|
L.append("ms, did not receive hello in time.");
|
|
GatewaySocket.access$handleClose(gatewaySocket, false, 0, L.toString());
|
|
}
|
|
}
|