Completable$16$1.smali
.class Lrx/Completable$16$1;
.super Ljava/lang/Object;
.source "Completable.java"
# interfaces
.implements Lrx/CompletableSubscriber;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lrx/Completable$16;->call(Lrx/CompletableSubscriber;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lrx/Completable$16;
.field final synthetic val$s:Lrx/CompletableSubscriber;
.field final synthetic val$set:Lrx/subscriptions/CompositeSubscription;
.field final synthetic val$w:Lrx/Scheduler$Worker;
# direct methods
.method constructor <init>(Lrx/Completable$16;Lrx/subscriptions/CompositeSubscription;Lrx/Scheduler$Worker;Lrx/CompletableSubscriber;)V
.registers 5
.line 1
iput-object p1, p0, Lrx/Completable$16$1;->this$1:Lrx/Completable$16;
iput-object p2, p0, Lrx/Completable$16$1;->val$set:Lrx/subscriptions/CompositeSubscription;
iput-object p3, p0, Lrx/Completable$16$1;->val$w:Lrx/Scheduler$Worker;
iput-object p4, p0, Lrx/Completable$16$1;->val$s:Lrx/CompletableSubscriber;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCompleted()V
.registers 7
.line 1
iget-object v0, p0, Lrx/Completable$16$1;->val$set:Lrx/subscriptions/CompositeSubscription;
iget-object v1, p0, Lrx/Completable$16$1;->val$w:Lrx/Scheduler$Worker;
new-instance v2, Lrx/Completable$16$1$1;
invoke-direct {v2, p0}, Lrx/Completable$16$1$1;-><init>(Lrx/Completable$16$1;)V
iget-object v3, p0, Lrx/Completable$16$1;->this$1:Lrx/Completable$16;
iget-wide v4, v3, Lrx/Completable$16;->val$delay:J
iget-object v3, v3, Lrx/Completable$16;->val$unit:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v1, v2, v4, v5, v3}, Lrx/Scheduler$Worker;->schedule(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/subscriptions/CompositeSubscription;->add(Lrx/Subscription;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 7
.line 1
iget-object v0, p0, Lrx/Completable$16$1;->this$1:Lrx/Completable$16;
iget-boolean v0, v0, Lrx/Completable$16;->val$delayError:Z
if-eqz v0, :cond_1d
.line 2
iget-object v0, p0, Lrx/Completable$16$1;->val$set:Lrx/subscriptions/CompositeSubscription;
iget-object v1, p0, Lrx/Completable$16$1;->val$w:Lrx/Scheduler$Worker;
new-instance v2, Lrx/Completable$16$1$2;
invoke-direct {v2, p0, p1}, Lrx/Completable$16$1$2;-><init>(Lrx/Completable$16$1;Ljava/lang/Throwable;)V
iget-object p1, p0, Lrx/Completable$16$1;->this$1:Lrx/Completable$16;
iget-wide v3, p1, Lrx/Completable$16;->val$delay:J
iget-object p1, p1, Lrx/Completable$16;->val$unit:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v1, v2, v3, v4, p1}, Lrx/Scheduler$Worker;->schedule(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
move-result-object p1
invoke-virtual {v0, p1}, Lrx/subscriptions/CompositeSubscription;->add(Lrx/Subscription;)V
goto :goto_22
.line 3
:cond_1d
iget-object v0, p0, Lrx/Completable$16$1;->val$s:Lrx/CompletableSubscriber;
invoke-interface {v0, p1}, Lrx/CompletableSubscriber;->onError(Ljava/lang/Throwable;)V
:goto_22
return-void
.end method
.method public onSubscribe(Lrx/Subscription;)V
.registers 3
.line 1
iget-object v0, p0, Lrx/Completable$16$1;->val$set:Lrx/subscriptions/CompositeSubscription;
invoke-virtual {v0, p1}, Lrx/subscriptions/CompositeSubscription;->add(Lrx/Subscription;)V
.line 2
iget-object p1, p0, Lrx/Completable$16$1;->val$s:Lrx/CompletableSubscriber;
iget-object v0, p0, Lrx/Completable$16$1;->val$set:Lrx/subscriptions/CompositeSubscription;
invoke-interface {p1, v0}, Lrx/CompletableSubscriber;->onSubscribe(Lrx/Subscription;)V
return-void
.end method