FlowableDetach$DetachSubscriber.smali
.class final Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;
.super Ljava/lang/Object;
.source "FlowableDetach.java"
# interfaces
.implements Lio/reactivex/FlowableSubscriber;
.implements Lorg/reactivestreams/Subscription;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/flowable/FlowableDetach;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "DetachSubscriber"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/FlowableSubscriber<",
"TT;>;",
"Lorg/reactivestreams/Subscription;"
}
.end annotation
# instance fields
.field actual:Lorg/reactivestreams/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lorg/reactivestreams/Subscriber<",
"-TT;>;"
}
.end annotation
.end field
.field s:Lorg/reactivestreams/Subscription;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lorg/reactivestreams/Subscriber;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/Subscriber<",
"-TT;>;)V"
}
.end annotation
.line 39
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;, "Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber<TT;>;"
.local p1, "actual":Lorg/reactivestreams/Subscriber;, "Lorg/reactivestreams/Subscriber<-TT;>;"
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 40
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
.line 41
return-void
.end method
# virtual methods
.method public cancel()V
.registers 3
.line 50
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;, "Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->s:Lorg/reactivestreams/Subscription;
.line 51
.local v0, "s":Lorg/reactivestreams/Subscription;
sget-object v1, Lio/reactivex/internal/util/EmptyComponent;->INSTANCE:Lio/reactivex/internal/util/EmptyComponent;
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->s:Lorg/reactivestreams/Subscription;
.line 52
invoke-static {}, Lio/reactivex/internal/util/EmptyComponent;->asSubscriber()Lorg/reactivestreams/Subscriber;
move-result-object v1
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
.line 53
invoke-interface {v0}, Lorg/reactivestreams/Subscription;->cancel()V
.line 54
return-void
.end method
.method public onComplete()V
.registers 3
.line 80
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;, "Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
.line 81
.local v0, "a":Lorg/reactivestreams/Subscriber;, "Lorg/reactivestreams/Subscriber<-TT;>;"
sget-object v1, Lio/reactivex/internal/util/EmptyComponent;->INSTANCE:Lio/reactivex/internal/util/EmptyComponent;
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->s:Lorg/reactivestreams/Subscription;
.line 82
invoke-static {}, Lio/reactivex/internal/util/EmptyComponent;->asSubscriber()Lorg/reactivestreams/Subscriber;
move-result-object v1
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
.line 83
invoke-interface {v0}, Lorg/reactivestreams/Subscriber;->onComplete()V
.line 84
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 4
.param p1, "t" # Ljava/lang/Throwable;
.line 72
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;, "Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
.line 73
.local v0, "a":Lorg/reactivestreams/Subscriber;, "Lorg/reactivestreams/Subscriber<-TT;>;"
sget-object v1, Lio/reactivex/internal/util/EmptyComponent;->INSTANCE:Lio/reactivex/internal/util/EmptyComponent;
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->s:Lorg/reactivestreams/Subscription;
.line 74
invoke-static {}, Lio/reactivex/internal/util/EmptyComponent;->asSubscriber()Lorg/reactivestreams/Subscriber;
move-result-object v1
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
.line 75
invoke-interface {v0, p1}, Lorg/reactivestreams/Subscriber;->onError(Ljava/lang/Throwable;)V
.line 76
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 67
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;, "Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber<TT;>;"
.local p1, "t":Ljava/lang/Object;, "TT;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
invoke-interface {v0, p1}, Lorg/reactivestreams/Subscriber;->onNext(Ljava/lang/Object;)V
.line 68
return-void
.end method
.method public onSubscribe(Lorg/reactivestreams/Subscription;)V
.registers 3
.param p1, "s" # Lorg/reactivestreams/Subscription;
.line 58
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;, "Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->s:Lorg/reactivestreams/Subscription;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
move-result v0
if-eqz v0, :cond_f
.line 59
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->s:Lorg/reactivestreams/Subscription;
.line 61
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->actual:Lorg/reactivestreams/Subscriber;
invoke-interface {v0, p0}, Lorg/reactivestreams/Subscriber;->onSubscribe(Lorg/reactivestreams/Subscription;)V
.line 63
:cond_f
return-void
.end method
.method public request(J)V
.registers 4
.param p1, "n" # J
.line 45
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;, "Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableDetach$DetachSubscriber;->s:Lorg/reactivestreams/Subscription;
invoke-interface {v0, p1, p2}, Lorg/reactivestreams/Subscription;->request(J)V
.line 46
return-void
.end method