93 lines
2.3 KiB
Java
93 lines
2.3 KiB
Java
package j0.l.a;
|
|
|
|
import rx.Scheduler;
|
|
import rx.Subscriber;
|
|
import rx.functions.Action0;
|
|
/* compiled from: OperatorDelay */
|
|
public class r0 extends Subscriber<T> {
|
|
public boolean i;
|
|
public final /* synthetic */ Scheduler.Worker j;
|
|
public final /* synthetic */ Subscriber k;
|
|
public final /* synthetic */ s0 l;
|
|
|
|
/* compiled from: OperatorDelay */
|
|
public class a implements Action0 {
|
|
public a() {
|
|
}
|
|
|
|
@Override // rx.functions.Action0
|
|
public void call() {
|
|
r0 r0Var = r0.this;
|
|
if (!r0Var.i) {
|
|
r0Var.i = true;
|
|
r0Var.k.onCompleted();
|
|
}
|
|
}
|
|
}
|
|
|
|
/* compiled from: OperatorDelay */
|
|
public class b implements Action0 {
|
|
public final /* synthetic */ Throwable i;
|
|
|
|
public b(Throwable th) {
|
|
this.i = th;
|
|
}
|
|
|
|
@Override // rx.functions.Action0
|
|
public void call() {
|
|
r0 r0Var = r0.this;
|
|
if (!r0Var.i) {
|
|
r0Var.i = true;
|
|
r0Var.k.onError(this.i);
|
|
r0.this.j.unsubscribe();
|
|
}
|
|
}
|
|
}
|
|
|
|
/* compiled from: OperatorDelay */
|
|
public class c implements Action0 {
|
|
public final /* synthetic */ Object i;
|
|
|
|
public c(Object obj) {
|
|
this.i = obj;
|
|
}
|
|
|
|
@Override // rx.functions.Action0
|
|
public void call() {
|
|
r0 r0Var = r0.this;
|
|
if (!r0Var.i) {
|
|
r0Var.k.onNext(this.i);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public r0(s0 s0Var, Subscriber subscriber, Scheduler.Worker worker, Subscriber subscriber2) {
|
|
super(subscriber);
|
|
this.l = s0Var;
|
|
this.j = worker;
|
|
this.k = subscriber2;
|
|
}
|
|
|
|
@Override // j0.g
|
|
public void onCompleted() {
|
|
Scheduler.Worker worker = this.j;
|
|
a aVar = new a();
|
|
s0 s0Var = this.l;
|
|
worker.b(aVar, s0Var.i, s0Var.j);
|
|
}
|
|
|
|
@Override // j0.g
|
|
public void onError(Throwable th) {
|
|
this.j.a(new b(th));
|
|
}
|
|
|
|
@Override // j0.g
|
|
public void onNext(T t) {
|
|
Scheduler.Worker worker = this.j;
|
|
c cVar = new c(t);
|
|
s0 s0Var = this.l;
|
|
worker.b(cVar, s0Var.i, s0Var.j);
|
|
}
|
|
}
|