apkfuckery/com.discord/smali_classes2/rx/subscriptions/SerialSubscription.smali

72 lines
1.5 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lrx/subscriptions/SerialSubscription;
.super Ljava/lang/Object;
.source "SerialSubscription.java"
# interfaces
.implements Lrx/Subscription;
# instance fields
2019-10-23 04:50:18 +00:00
.field public final bPg:Lrx/internal/d/a;
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lrx/internal/d/a;
invoke-direct {v0}, Lrx/internal/d/a;-><init>()V
2019-10-23 04:50:18 +00:00
iput-object v0, p0, Lrx/subscriptions/SerialSubscription;->bPg:Lrx/internal/d/a;
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
.method public final f(Lrx/Subscription;)V
.locals 1
if-eqz p1, :cond_0
2019-10-23 04:50:18 +00:00
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->bPg:Lrx/internal/d/a;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, p1}, Lrx/internal/d/a;->a(Lrx/Subscription;)Z
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Subscription can not be null"
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final isUnsubscribed()Z
.locals 1
2019-10-23 04:50:18 +00:00
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->bPg:Lrx/internal/d/a;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Lrx/internal/d/a;->isUnsubscribed()Z
move-result v0
return v0
.end method
.method public final unsubscribe()V
.locals 1
2019-10-23 04:50:18 +00:00
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->bPg:Lrx/internal/d/a;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Lrx/internal/d/a;->unsubscribe()V
return-void
.end method