27 lines
1 KiB
Java
27 lines
1 KiB
Java
package com.discord.utilities.websocket;
|
|
|
|
import com.discord.utilities.websocket.WebSocket;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: WebSocket.kt */
|
|
public final class WebSocket$connect$1$onClosed$1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ int $code;
|
|
public final /* synthetic */ String $reason;
|
|
public final /* synthetic */ WebSocket$connect$1 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WebSocket$connect$1$onClosed$1(WebSocket$connect$1 webSocket$connect$1, int i, String str) {
|
|
super(0);
|
|
this.this$0 = webSocket$connect$1;
|
|
this.$code = i;
|
|
this.$reason = str;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
WebSocket.access$setState$p(this.this$0.this$0, WebSocket.State.CLOSED);
|
|
this.this$0.this$0.getOnClosed().invoke(new WebSocket.Closed(this.$code, this.$reason));
|
|
}
|
|
}
|