ObservableBufferBoundary.smali

.class public final Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;
.super Lio/reactivex/internal/operators/observable/a;
.source "ObservableBufferBoundary.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        "U::",
        "Ljava/util/Collection",
        "<-TT;>;Open:",
        "Ljava/lang/Object;",
        "Close:",
        "Ljava/lang/Object;",
        ">",
        "Lio/reactivex/internal/operators/observable/a",
        "<TT;TU;>;"
    }
.end annotation


# instance fields
.field private bufferClose:Lio/reactivex/b/h;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/h",
            "<-TOpen;+",
            "Lio/reactivex/p",
            "<+TClose;>;>;"
        }
    .end annotation
.end field

.field private bufferOpen:Lio/reactivex/p;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/p",
            "<+TOpen;>;"
        }
    .end annotation
.end field

.field private bufferSupplier:Ljava/util/concurrent/Callable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/Callable",
            "<TU;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lio/reactivex/p;Lio/reactivex/p;Lio/reactivex/b/h;Ljava/util/concurrent/Callable;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/p",
            "<TT;>;",
            "Lio/reactivex/p",
            "<+TOpen;>;",
            "Lio/reactivex/b/h",
            "<-TOpen;+",
            "Lio/reactivex/p",
            "<+TClose;>;>;",
            "Ljava/util/concurrent/Callable",
            "<TU;>;)V"
        }
    .end annotation

    .prologue
    .line 39
    invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/a;-><init>(Lio/reactivex/p;)V

    .line 40
    iput-object p2, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;->bufferOpen:Lio/reactivex/p;

    .line 41
    iput-object p3, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;->bufferClose:Lio/reactivex/b/h;

    .line 42
    iput-object p4, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;->bufferSupplier:Ljava/util/concurrent/Callable;

    .line 43
    return-void
.end method


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

    .prologue
    .line 47
    new-instance v0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver;

    iget-object v1, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;->bufferOpen:Lio/reactivex/p;

    iget-object v2, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;->bufferClose:Lio/reactivex/b/h;

    iget-object v3, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;->bufferSupplier:Ljava/util/concurrent/Callable;

    invoke-direct {v0, p1, v1, v2, v3}, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver;-><init>(Lio/reactivex/r;Lio/reactivex/p;Lio/reactivex/b/h;Ljava/util/concurrent/Callable;)V

    .line 51
    invoke-interface {p1, v0}, Lio/reactivex/r;->onSubscribe(Lio/reactivex/disposables/b;)V

    .line 52
    iget-object v1, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundary;->source:Lio/reactivex/p;

    invoke-interface {v1, v0}, Lio/reactivex/p;->subscribe(Lio/reactivex/r;)V

    .line 53
    return-void
.end method