OperatorDebounceWithSelector$1.smali
.class Lrx/internal/operators/OperatorDebounceWithSelector$1;
.super Lrx/Subscriber;
.source "OperatorDebounceWithSelector.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lrx/internal/operators/OperatorDebounceWithSelector;->call(Lrx/Subscriber;)Lrx/Subscriber;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"TT;>;"
}
.end annotation
# instance fields
.field final self:Lrx/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"*>;"
}
.end annotation
.end field
.field final state:Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/internal/operators/OperatorDebounceWithTime$DebounceState<",
"TT;>;"
}
.end annotation
.end field
.field final synthetic this$0:Lrx/internal/operators/OperatorDebounceWithSelector;
.field final synthetic val$s:Lrx/observers/SerializedSubscriber;
.field final synthetic val$serial:Lrx/subscriptions/SerialSubscription;
# direct methods
.method constructor <init>(Lrx/internal/operators/OperatorDebounceWithSelector;Lrx/Subscriber;Lrx/observers/SerializedSubscriber;Lrx/subscriptions/SerialSubscription;)V
.registers 5
.line 1
iput-object p1, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->this$0:Lrx/internal/operators/OperatorDebounceWithSelector;
iput-object p3, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->val$s:Lrx/observers/SerializedSubscriber;
iput-object p4, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->val$serial:Lrx/subscriptions/SerialSubscription;
invoke-direct {p0, p2}, Lrx/Subscriber;-><init>(Lrx/Subscriber;)V
.line 2
new-instance p1, Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;
invoke-direct {p1}, Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;-><init>()V
iput-object p1, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->state:Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;
.line 3
iput-object p0, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->self:Lrx/Subscriber;
return-void
.end method
# virtual methods
.method public onCompleted()V
.registers 3
.line 1
iget-object v0, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->state:Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;
iget-object v1, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->val$s:Lrx/observers/SerializedSubscriber;
invoke-virtual {v0, v1, p0}, Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;->emitAndComplete(Lrx/Subscriber;Lrx/Subscriber;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object v0, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->val$s:Lrx/observers/SerializedSubscriber;
invoke-virtual {v0, p1}, Lrx/observers/SerializedSubscriber;->onError(Ljava/lang/Throwable;)V
.line 2
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
.line 3
iget-object p1, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->state:Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;
invoke-virtual {p1}, Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;->clear()V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->this$0:Lrx/internal/operators/OperatorDebounceWithSelector;
iget-object v0, v0, Lrx/internal/operators/OperatorDebounceWithSelector;->selector:Lrx/functions/Func1;
invoke-interface {v0, p1}, Lrx/functions/Func1;->call(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lrx/Observable;
:try_end_a
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_a} :catch_1e
.line 2
iget-object v1, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->state:Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;
invoke-virtual {v1, p1}, Lrx/internal/operators/OperatorDebounceWithTime$DebounceState;->next(Ljava/lang/Object;)I
move-result p1
.line 3
new-instance v1, Lrx/internal/operators/OperatorDebounceWithSelector$1$1;
invoke-direct {v1, p0, p1}, Lrx/internal/operators/OperatorDebounceWithSelector$1$1;-><init>(Lrx/internal/operators/OperatorDebounceWithSelector$1;I)V
.line 4
iget-object p1, p0, Lrx/internal/operators/OperatorDebounceWithSelector$1;->val$serial:Lrx/subscriptions/SerialSubscription;
invoke-virtual {p1, v1}, Lrx/subscriptions/SerialSubscription;->set(Lrx/Subscription;)V
.line 5
invoke-virtual {v0, v1}, Lrx/Observable;->unsafeSubscribe(Lrx/Subscriber;)Lrx/Subscription;
return-void
:catch_1e
move-exception p1
.line 6
invoke-static {p1, p0}, Lrx/exceptions/Exceptions;->throwOrReport(Ljava/lang/Throwable;Lrx/Observer;)V
return-void
.end method
.method public onStart()V
.registers 3
const-wide v0, 0x7fffffffffffffffL
.line 1
invoke-virtual {p0, v0, v1}, Lrx/Subscriber;->request(J)V
return-void
.end method