public abstract class KeepSubscriber extends java.lang.Object implements io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject>, KeepSubscriberInfo
Shortcut object for ObservableEmitter to handle the methods we usually don’t implement
Modifier and Type | Field and Description |
---|---|
protected io.reactivex.functions.Cancellable |
c |
protected io.reactivex.disposables.Disposable |
d |
Modifier | Constructor and Description |
---|---|
protected |
KeepSubscriber(java.lang.String apiName,
KeepUser user)
A KeepSubscriber always carries API Name and Domino User
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiName() |
KeepUser |
getUser() |
boolean |
isDisposed() |
io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject> |
serialize() |
void |
setCancellable(io.reactivex.functions.Cancellable c) |
void |
setDisposable(io.reactivex.disposables.Disposable d) |
boolean |
tryOnError(java.lang.Throwable t) |
protected io.reactivex.disposables.Disposable d
protected io.reactivex.functions.Cancellable c
protected KeepSubscriber(java.lang.String apiName, KeepUser user)
A KeepSubscriber always carries API Name and Domino User
apiName
- user
- public java.lang.String getApiName()
getApiName
in interface KeepSubscriberInfo
public KeepUser getUser()
getUser
in interface KeepSubscriberInfo
public boolean isDisposed()
isDisposed
in interface io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject>
public io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject> serialize()
serialize
in interface io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject>
public void setCancellable(io.reactivex.functions.Cancellable c)
setCancellable
in interface io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject>
public void setDisposable(io.reactivex.disposables.Disposable d)
setDisposable
in interface io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject>
public boolean tryOnError(java.lang.Throwable t)
tryOnError
in interface io.reactivex.ObservableEmitter<io.vertx.core.json.JsonObject>