BlockingObservable$5.smali
.class Lrx/observables/BlockingObservable$5;
.super Lrx/Subscriber;
.source "BlockingObservable.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lrx/observables/BlockingObservable;->subscribe(Lrx/Observer;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"TT;>;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lrx/observables/BlockingObservable;
.field final synthetic val$queue:Ljava/util/concurrent/BlockingQueue;
# direct methods
.method constructor <init>(Lrx/observables/BlockingObservable;Ljava/util/concurrent/BlockingQueue;)V
.registers 3
.line 1
iput-object p1, p0, Lrx/observables/BlockingObservable$5;->this$0:Lrx/observables/BlockingObservable;
iput-object p2, p0, Lrx/observables/BlockingObservable$5;->val$queue:Ljava/util/concurrent/BlockingQueue;
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
return-void
.end method
# virtual methods
.method public onCompleted()V
.registers 3
.line 1
iget-object v0, p0, Lrx/observables/BlockingObservable$5;->val$queue:Ljava/util/concurrent/BlockingQueue;
invoke-static {}, Lrx/internal/operators/NotificationLite;->completed()Ljava/lang/Object;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/concurrent/BlockingQueue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object v0, p0, Lrx/observables/BlockingObservable$5;->val$queue:Ljava/util/concurrent/BlockingQueue;
invoke-static {p1}, Lrx/internal/operators/NotificationLite;->error(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/concurrent/BlockingQueue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lrx/observables/BlockingObservable$5;->val$queue:Ljava/util/concurrent/BlockingQueue;
invoke-static {p1}, Lrx/internal/operators/NotificationLite;->next(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/concurrent/BlockingQueue;->offer(Ljava/lang/Object;)Z
return-void
.end method