eo.smali

.class final Lio/reactivex/internal/operators/observable/eo;
.super Lio/reactivex/k;
.source "ObservableReplay.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<R:",
        "Ljava/lang/Object;",
        "U:",
        "Ljava/lang/Object;",
        ">",
        "Lio/reactivex/k",
        "<TR;>;"
    }
.end annotation


# instance fields
.field private final bQY:Ljava/util/concurrent/Callable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/Callable",
            "<+",
            "Lio/reactivex/c/a",
            "<TU;>;>;"
        }
    .end annotation
.end field

.field private final bQq:Lio/reactivex/b/h;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/h",
            "<-",
            "Lio/reactivex/k",
            "<TU;>;+",
            "Lio/reactivex/p",
            "<TR;>;>;"
        }
    .end annotation
.end field


# direct methods
.method constructor <init>(Ljava/util/concurrent/Callable;Lio/reactivex/b/h;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/concurrent/Callable",
            "<+",
            "Lio/reactivex/c/a",
            "<TU;>;>;",
            "Lio/reactivex/b/h",
            "<-",
            "Lio/reactivex/k",
            "<TU;>;+",
            "Lio/reactivex/p",
            "<TR;>;>;)V"
        }
    .end annotation

    .prologue
    .line 1020
    invoke-direct {p0}, Lio/reactivex/k;-><init>()V

    .line 1021
    iput-object p1, p0, Lio/reactivex/internal/operators/observable/eo;->bQY:Ljava/util/concurrent/Callable;

    .line 1022
    iput-object p2, p0, Lio/reactivex/internal/operators/observable/eo;->bQq:Lio/reactivex/b/h;

    .line 1023
    return-void
.end method


# virtual methods
.method protected final subscribeActual(Lio/reactivex/r;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/r",
            "<-TR;>;)V"
        }
    .end annotation

    .prologue
    .line 1030
    :try_start_0
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/eo;->bQY:Ljava/util/concurrent/Callable;

    invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;

    move-result-object v0

    const-string v1, "The connectableFactory returned a null ConnectableObservable"

    invoke-static {v0, v1}, Lio/reactivex/internal/functions/aj;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lio/reactivex/c/a;

    .line 1031
    iget-object v1, p0, Lio/reactivex/internal/operators/observable/eo;->bQq:Lio/reactivex/b/h;

    invoke-interface {v1, v0}, Lio/reactivex/b/h;->apply(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    const-string v2, "The selector returned a null ObservableSource"

    invoke-static {v1, v2}, Lio/reactivex/internal/functions/aj;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lio/reactivex/p;
    :try_end_1c
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_1c} :catch_2d

    .line 1038
    new-instance v2, Lio/reactivex/internal/operators/observable/ObserverResourceWrapper;

    invoke-direct {v2, p1}, Lio/reactivex/internal/operators/observable/ObserverResourceWrapper;-><init>(Lio/reactivex/r;)V

    .line 1040
    invoke-interface {v1, v2}, Lio/reactivex/p;->subscribe(Lio/reactivex/r;)V

    .line 1042
    new-instance v1, Lio/reactivex/internal/operators/observable/en;

    invoke-direct {v1, v2}, Lio/reactivex/internal/operators/observable/en;-><init>(Lio/reactivex/internal/operators/observable/ObserverResourceWrapper;)V

    invoke-virtual {v0, v1}, Lio/reactivex/c/a;->d(Lio/reactivex/b/g;)V

    .line 1043
    :goto_2c
    return-void

    .line 1032
    :catch_2d
    move-exception v0

    .line 1033
    invoke-static {v0}, Lio/reactivex/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V

    .line 1034
    invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/r;)V

    goto :goto_2c
.end method