T - public interface Observer<T>
| 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.
|
void |
onNext(T value)
Provides the observer with new data.
|
void onError(Exception error)
error - void onCompleted()
Copyright © 2017 The Apache Software Foundation. All rights reserved.