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

72 lines
1.5 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lrx/subscriptions/SerialSubscription;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "SerialSubscription.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Lrx/Subscription;
# instance fields
2019-04-03 00:06:05 +00:00
.field public final bKZ:Lrx/internal/d/a;
2019-02-04 20:08:30 +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-04-03 00:06:05 +00:00
iput-object v0, p0, Lrx/subscriptions/SerialSubscription;->bKZ:Lrx/internal/d/a;
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method public final f(Lrx/Subscription;)V
.locals 1
if-eqz p1, :cond_0
2019-04-03 00:06:05 +00:00
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->bKZ:Lrx/internal/d/a;
2019-02-04 20:08:30 +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-04-03 00:06:05 +00:00
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->bKZ:Lrx/internal/d/a;
2019-02-04 20:08:30 +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-04-03 00:06:05 +00:00
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->bKZ:Lrx/internal/d/a;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Lrx/internal/d/a;->unsubscribe()V
return-void
.end method