125 lines
3 KiB
Smali
125 lines
3 KiB
Smali
.class public final Lf/a/h/s/a$k;
|
|
.super Lj0/n/c/i;
|
|
.source "RtcControlSocket.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lf/a/h/s/a;->onFailure(Lokhttp3/WebSocket;Ljava/lang/Throwable;Lokhttp3/Response;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $throwable:Ljava/lang/Throwable;
|
|
|
|
.field public final synthetic $webSocket:Lokhttp3/WebSocket;
|
|
|
|
.field public final synthetic this$0:Lf/a/h/s/a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/a/h/s/a;Lokhttp3/WebSocket;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/a/h/s/a$k;->this$0:Lf/a/h/s/a;
|
|
|
|
iput-object p2, p0, Lf/a/h/s/a$k;->$webSocket:Lokhttp3/WebSocket;
|
|
|
|
iput-object p3, p0, Lf/a/h/s/a$k;->$throwable:Ljava/lang/Throwable;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public invoke()Ljava/lang/Object;
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lf/a/h/s/a$k;->$webSocket:Lokhttp3/WebSocket;
|
|
|
|
iget-object v1, p0, Lf/a/h/s/a$k;->this$0:Lf/a/h/s/a;
|
|
|
|
iget-object v1, v1, Lf/a/h/s/a;->e:Lokhttp3/WebSocket;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/a/h/s/a$k;->$throwable:Ljava/lang/Throwable;
|
|
|
|
instance-of v0, v0, Ljavax/net/ssl/SSLException;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lf/a/h/s/a$k;->this$0:Lf/a/h/s/a;
|
|
|
|
invoke-static {v0, v2, v1}, Lf/a/h/s/a;->c(Lf/a/h/s/a;Lkotlin/jvm/functions/Function1;I)V
|
|
|
|
iget-object v0, p0, Lf/a/h/s/a$k;->this$0:Lf/a/h/s/a;
|
|
|
|
sget-object v1, Lf/a/h/s/n;->d:Lf/a/h/s/n;
|
|
|
|
invoke-virtual {v0, v1}, Lf/a/h/s/a;->i(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lf/a/h/s/a$k;->this$0:Lf/a/h/s/a;
|
|
|
|
const-string v3, "An error with the websocket occurred: "
|
|
|
|
invoke-static {v3}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v4, p0, Lf/a/h/s/a$k;->$throwable:Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lf/a/h/s/a;->a(Lf/a/h/s/a;ZLjava/lang/Integer;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|