OnSubscribeTimerPeriodically$1.smali
.class Lrx/internal/operators/OnSubscribeTimerPeriodically$1;
.super Ljava/lang/Object;
.source "OnSubscribeTimerPeriodically.java"
# interfaces
.implements Lrx/functions/Action0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lrx/internal/operators/OnSubscribeTimerPeriodically;->call(Lrx/Subscriber;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field counter:J
.field final synthetic this$0:Lrx/internal/operators/OnSubscribeTimerPeriodically;
.field final synthetic val$child:Lrx/Subscriber;
.field final synthetic val$worker:Lrx/Scheduler$Worker;
# direct methods
.method constructor <init>(Lrx/internal/operators/OnSubscribeTimerPeriodically;Lrx/Subscriber;Lrx/Scheduler$Worker;)V
.registers 4
.line 1
iput-object p1, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->this$0:Lrx/internal/operators/OnSubscribeTimerPeriodically;
iput-object p2, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->val$child:Lrx/Subscriber;
iput-object p3, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->val$worker:Lrx/Scheduler$Worker;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call()V
.registers 6
.line 1
:try_start_0
iget-object v0, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->val$child:Lrx/Subscriber;
iget-wide v1, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->counter:J
const-wide/16 v3, 0x1
add-long/2addr v3, v1
iput-wide v3, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->counter:J
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
invoke-interface {v0, v1}, Lrx/Observer;->onNext(Ljava/lang/Object;)V
:try_end_10
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_10} :catch_11
goto :goto_1c
:catch_11
move-exception v0
.line 2
:try_start_12
iget-object v1, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->val$worker:Lrx/Scheduler$Worker;
invoke-interface {v1}, Lrx/Subscription;->unsubscribe()V
:try_end_17
.catchall {:try_start_12 .. :try_end_17} :catchall_1d
.line 3
iget-object v1, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->val$child:Lrx/Subscriber;
invoke-static {v0, v1}, Lrx/exceptions/Exceptions;->throwOrReport(Ljava/lang/Throwable;Lrx/Observer;)V
:goto_1c
return-void
:catchall_1d
move-exception v1
iget-object v2, p0, Lrx/internal/operators/OnSubscribeTimerPeriodically$1;->val$child:Lrx/Subscriber;
invoke-static {v0, v2}, Lrx/exceptions/Exceptions;->throwOrReport(Ljava/lang/Throwable;Lrx/Observer;)V
throw v1
.end method