T - typepublic abstract class AbstractObserver<T> extends Object implements Observer<T>
Observer with logging-only onError and onCompleted() methods.| Constructor and Description |
|---|
AbstractObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted()
Notifies the observer that the provider has finished sending push-based
notifications.
|
void |
onError(Exception error)
Notifies the observer that the provider has experienced an error
condition.
|
public AbstractObserver()
public void onError(Exception error)
Observerpublic void onCompleted()
ObserveronCompleted in interface Observer<T>Copyright © 2017 The Apache Software Foundation. All rights reserved.