34 lines
1.4 KiB
Java
34 lines
1.4 KiB
Java
package com.discord.gateway;
|
|
|
|
import c.d.b.a.a;
|
|
import com.discord.gateway.GatewaySocket;
|
|
import com.discord.gateway.io.Outgoing;
|
|
import com.discord.gateway.io.OutgoingPayload;
|
|
import com.discord.gateway.opcodes.Opcode;
|
|
import com.discord.utilities.logging.Logger;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: GatewaySocket.kt */
|
|
public final class GatewaySocket$streamPing$1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ String $streamKey;
|
|
public final /* synthetic */ GatewaySocket this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public GatewaySocket$streamPing$1(GatewaySocket gatewaySocket, String str) {
|
|
super(0);
|
|
this.this$0 = gatewaySocket;
|
|
this.$streamKey = str;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
GatewaySocket.Companion companion = GatewaySocket.Companion;
|
|
Logger access$getLogger$p = GatewaySocket.access$getLogger$p(this.this$0);
|
|
StringBuilder L = a.L("Sending OPCODE_STREAM_PING: ");
|
|
L.append(this.$streamKey);
|
|
GatewaySocket.Companion.log$default(companion, access$getLogger$p, L.toString(), false, 2, null);
|
|
GatewaySocket.send$default(this.this$0, new Outgoing(Opcode.OPCODE_STREAM_PING, new OutgoingPayload.StreamPing(this.$streamKey)), false, null, 6, null);
|
|
}
|
|
}
|