Req
- The request typeRes
- The response typepublic class AsyncHandlerEmitter<Req,Res>
extends java.lang.Object
implements com.oracle.bmc.responses.AsyncHandler<Req,Res>
AsyncHandler
interface to an RxJava SingleEmitter
.Constructor and Description |
---|
AsyncHandlerEmitter(io.reactivex.SingleEmitter<Res> emitter) |
Modifier and Type | Method and Description |
---|---|
void |
onError(Req req,
java.lang.Throwable error) |
void |
onSuccess(Req req,
Res res) |
public AsyncHandlerEmitter(io.reactivex.SingleEmitter<Res> emitter)