apkfuckery/com.discord/smali/com/discord/gateway/GatewaySocket$4.smali

102 lines
3.0 KiB
Smali

.class public final Lcom/discord/gateway/GatewaySocket$4;
.super Ljava/lang/Object;
.source "GatewaySocket.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/gateway/GatewaySocket;-><init>(Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lcom/discord/gateway/GatewayEventHandler;Lrx/Scheduler;Lcom/discord/utilities/logging/Logger;Lcom/discord/utilities/networking/NetworkMonitor;Lcom/discord/gateway/rest/RestConfig;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Ljavax/net/ssl/SSLSocketFactory;Ljava/util/Map;Lcom/discord/gateway/GatewaySocketLogger;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/gateway/GatewaySocket;
# direct methods
.method public constructor <init>(Lcom/discord/gateway/GatewaySocket;)V
.locals 0
iput-object p1, p0, Lcom/discord/gateway/GatewaySocket$4;->this$0:Lcom/discord/gateway/GatewaySocket;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lcom/discord/gateway/GatewaySocket$4;->call(Ljava/lang/Throwable;)V
return-void
.end method
.method public final call(Ljava/lang/Throwable;)V
.locals 7
iget-object v0, p0, Lcom/discord/gateway/GatewaySocket$4;->this$0:Lcom/discord/gateway/GatewaySocket;
invoke-static {v0}, Lcom/discord/gateway/GatewaySocket;->access$getLogger$p(Lcom/discord/gateway/GatewaySocket;)Lcom/discord/utilities/logging/Logger;
move-result-object v1
const-string v0, "failed to handle connectivity change in "
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v2, p0, Lcom/discord/gateway/GatewaySocket$4;->this$0:Lcom/discord/gateway/GatewaySocket;
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
const/4 v4, 0x0
const/4 v5, 0x4
const/4 v6, 0x0
move-object v3, p1
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
return-void
.end method