public class HandlerAdapter<T> extends ObservableOnSubscribeAdapter<T> implements Handler<AsyncResult<T>>
subRef
Constructor and Description |
---|
HandlerAdapter() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(AsyncResult<T> event) |
void |
handle(AsyncResult<T> event)
Something has happened, so handle it.
|
void |
onSubscribed() |
protected void |
onUnsubscribed() |
call, fireComplete, fireError, fireNext, fireResult, getSubscriber
public void onSubscribed()
onSubscribed
in class ObservableOnSubscribeAdapter<T>
public void handle(AsyncResult<T> event)
Handler
handle
in interface Handler<AsyncResult<T>>
event
- the event to handleprotected void onUnsubscribed()
onUnsubscribed
in class ObservableOnSubscribeAdapter<T>
protected void dispatch(AsyncResult<T> event)
Copyright © 2022 Eclipse. All rights reserved.