FlowableBufferBoundarySupplier.smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;
.super Lio/reactivex/internal/operators/flowable/AbstractFlowableWithUpstream;
.source "FlowableBufferBoundarySupplier.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier$BufferBoundarySubscriber;,
Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier$BufferBoundarySupplierSubscriber;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U::",
"Ljava/util/Collection<",
"-TT;>;B:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/operators/flowable/AbstractFlowableWithUpstream<",
"TT;TU;>;"
}
.end annotation
# instance fields
.field final boundarySupplier:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+",
"Lorg/reactivestreams/Publisher<",
"TB;>;>;"
}
.end annotation
.end field
.field final bufferSupplier:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"TU;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lio/reactivex/Flowable;Ljava/util/concurrent/Callable;Ljava/util/concurrent/Callable;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/Flowable<",
"TT;>;",
"Ljava/util/concurrent/Callable<",
"+",
"Lorg/reactivestreams/Publisher<",
"TB;>;>;",
"Ljava/util/concurrent/Callable<",
"TU;>;)V"
}
.end annotation
.line 40
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;, "Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier<TT;TU;TB;>;"
.local p1, "source":Lio/reactivex/Flowable;, "Lio/reactivex/Flowable<TT;>;"
.local p2, "boundarySupplier":Ljava/util/concurrent/Callable;, "Ljava/util/concurrent/Callable<+Lorg/reactivestreams/Publisher<TB;>;>;"
.local p3, "bufferSupplier":Ljava/util/concurrent/Callable;, "Ljava/util/concurrent/Callable<TU;>;"
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/flowable/AbstractFlowableWithUpstream;-><init>(Lio/reactivex/Flowable;)V
.line 41
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;->boundarySupplier:Ljava/util/concurrent/Callable;
.line 42
iput-object p3, p0, Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;->bufferSupplier:Ljava/util/concurrent/Callable;
.line 43
return-void
.end method
# virtual methods
.method protected subscribeActual(Lorg/reactivestreams/Subscriber;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/Subscriber<",
"-TU;>;)V"
}
.end annotation
.line 47
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;, "Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier<TT;TU;TB;>;"
.local p1, "s":Lorg/reactivestreams/Subscriber;, "Lorg/reactivestreams/Subscriber<-TU;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;->source:Lio/reactivex/Flowable;
new-instance v1, Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier$BufferBoundarySupplierSubscriber;
new-instance v2, Lio/reactivex/subscribers/SerializedSubscriber;
invoke-direct {v2, p1}, Lio/reactivex/subscribers/SerializedSubscriber;-><init>(Lorg/reactivestreams/Subscriber;)V
iget-object v3, p0, Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;->bufferSupplier:Ljava/util/concurrent/Callable;
iget-object v4, p0, Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier;->boundarySupplier:Ljava/util/concurrent/Callable;
invoke-direct {v1, v2, v3, v4}, Lio/reactivex/internal/operators/flowable/FlowableBufferBoundarySupplier$BufferBoundarySupplierSubscriber;-><init>(Lorg/reactivestreams/Subscriber;Ljava/util/concurrent/Callable;Ljava/util/concurrent/Callable;)V
invoke-virtual {v0, v1}, Lio/reactivex/Flowable;->subscribe(Lio/reactivex/FlowableSubscriber;)V
.line 48
return-void
.end method