SingleCreate.smali

.class public final Lio/reactivex/internal/operators/single/SingleCreate;
.super Lio/reactivex/x;
.source "SingleCreate.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Lio/reactivex/x",
        "<TT;>;"
    }
.end annotation


# instance fields
.field private bRV:Lio/reactivex/aa;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/aa",
            "<TT;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lio/reactivex/aa;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/aa",
            "<TT;>;)V"
        }
    .end annotation

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

    .line 30
    iput-object p1, p0, Lio/reactivex/internal/operators/single/SingleCreate;->bRV:Lio/reactivex/aa;

    .line 31
    return-void
.end method


# virtual methods
.method protected final c(Lio/reactivex/z;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/z",
            "<-TT;>;)V"
        }
    .end annotation

    .prologue
    .line 35
    new-instance v1, Lio/reactivex/internal/operators/single/SingleCreate$Emitter;

    invoke-direct {v1, p1}, Lio/reactivex/internal/operators/single/SingleCreate$Emitter;-><init>(Lio/reactivex/z;)V

    .line 36
    invoke-interface {p1, v1}, Lio/reactivex/z;->onSubscribe(Lio/reactivex/disposables/b;)V

    .line 39
    :try_start_8
    iget-object v0, p0, Lio/reactivex/internal/operators/single/SingleCreate;->bRV:Lio/reactivex/aa;

    invoke-interface {v0, v1}, Lio/reactivex/aa;->a(Lio/reactivex/y;)V
    :try_end_d
    .catch Ljava/lang/Throwable; {:try_start_8 .. :try_end_d} :catch_e

    .line 44
    :goto_d
    return-void

    .line 40
    :catch_e
    move-exception v0

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

    .line 42
    invoke-virtual {v1, v0}, Lio/reactivex/internal/operators/single/SingleCreate$Emitter;->onError(Ljava/lang/Throwable;)V

    goto :goto_d
.end method