24 lines
835 B
Java
24 lines
835 B
Java
package com.discord.gateway;
|
|
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: GatewaySocket.kt */
|
|
public final class GatewaySocket$connect$1 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$1(GatewaySocket gatewaySocket) {
|
|
super(0);
|
|
this.this$0 = gatewaySocket;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
if (GatewaySocket.access$getConnectionState$p(this.this$0) == 0) {
|
|
GatewaySocket.access$setConnectionState$p(this.this$0, 1);
|
|
GatewaySocket.access$discover(this.this$0);
|
|
}
|
|
}
|
|
}
|