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, getSubscriberpublic void onSubscribed()
onSubscribed in class ObservableOnSubscribeAdapter<T>public void handle(AsyncResult<T> event)
Handlerhandle in interface Handler<AsyncResult<T>>event - the event to handleprotected void onUnsubscribed()
onUnsubscribed in class ObservableOnSubscribeAdapter<T>protected void dispatch(AsyncResult<T> event)
Copyright © 2021 Eclipse. All rights reserved.