apkfuckery/com.discord/smali_classes2/rx/subjects/SerializedSubject.smali
2019-10-11 23:55:41 +02:00

103 lines
2.4 KiB
Smali

.class public Lrx/subjects/SerializedSubject;
.super Lrx/subjects/Subject;
.source "SerializedSubject.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lrx/subjects/Subject<",
"TT;TR;>;"
}
.end annotation
# instance fields
.field private final bON:Lrx/observers/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/observers/c<",
"TT;>;"
}
.end annotation
.end field
.field private final bOO:Lrx/subjects/Subject;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/subjects/Subject<",
"TT;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lrx/subjects/Subject;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/subjects/Subject<",
"TT;TR;>;)V"
}
.end annotation
new-instance v0, Lrx/subjects/SerializedSubject$1;
invoke-direct {v0, p1}, Lrx/subjects/SerializedSubject$1;-><init>(Lrx/subjects/Subject;)V
invoke-direct {p0, v0}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
iput-object p1, p0, Lrx/subjects/SerializedSubject;->bOO:Lrx/subjects/Subject;
new-instance v0, Lrx/observers/c;
invoke-direct {v0, p1}, Lrx/observers/c;-><init>(Lrx/e;)V
iput-object v0, p0, Lrx/subjects/SerializedSubject;->bON:Lrx/observers/c;
return-void
.end method
# virtual methods
.method public onCompleted()V
.locals 1
iget-object v0, p0, Lrx/subjects/SerializedSubject;->bON:Lrx/observers/c;
invoke-virtual {v0}, Lrx/observers/c;->onCompleted()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
iget-object v0, p0, Lrx/subjects/SerializedSubject;->bON:Lrx/observers/c;
invoke-virtual {v0, p1}, Lrx/observers/c;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
iget-object v0, p0, Lrx/subjects/SerializedSubject;->bON:Lrx/observers/c;
invoke-virtual {v0, p1}, Lrx/observers/c;->onNext(Ljava/lang/Object;)V
return-void
.end method