124 lines
3.9 KiB
Smali
124 lines
3.9 KiB
Smali
.class public final Lcom/discord/rtcconnection/RtcConnection$d;
|
|
.super Lx/u/b/k;
|
|
.source "RtcConnection.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/rtcconnection/RtcConnection;->a(Ljava/lang/String;Ljava/lang/String;Ljavax/net/ssl/SSLSocketFactory;)Ljava/util/concurrent/Future;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lx/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $endpoint:Ljava/lang/String;
|
|
|
|
.field public final synthetic $sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
.field public final synthetic $token:Ljava/lang/String;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/String;Ljava/lang/String;Ljavax/net/ssl/SSLSocketFactory;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/rtcconnection/RtcConnection$d;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
iput-object p2, p0, Lcom/discord/rtcconnection/RtcConnection$d;->$endpoint:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/discord/rtcconnection/RtcConnection$d;->$token:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Lcom/discord/rtcconnection/RtcConnection$d;->$sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lx/u/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/rtcconnection/RtcConnection$d;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/rtcconnection/RtcConnection$d;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/time/Clock;
|
|
|
|
invoke-interface {v1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->a(Ljava/lang/Long;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/rtcconnection/RtcConnection$d;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/rtcconnection/RtcConnection;->d()I
|
|
|
|
move-result v1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->a(I)V
|
|
|
|
iget-object v0, p0, Lcom/discord/rtcconnection/RtcConnection$d;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->B:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
|
|
|
|
invoke-interface {v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->a()Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
const-wide/16 v1, 0x1
|
|
|
|
sget-object v3, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Lrx/Observable;->g(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/rtcconnection/RtcConnection$d$a;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/rtcconnection/RtcConnection$d$a;-><init>(Lcom/discord/rtcconnection/RtcConnection$d;)V
|
|
|
|
new-instance v2, Lcom/discord/rtcconnection/RtcConnection$d$b;
|
|
|
|
invoke-direct {v2, p0}, Lcom/discord/rtcconnection/RtcConnection$d$b;-><init>(Lcom/discord/rtcconnection/RtcConnection$d;)V
|
|
|
|
invoke-virtual {v0, v1, v2}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
|
|
|
return-void
|
|
.end method
|