T
- a type of subject@Deprecated public class TimeoutSubject<T> extends Object implements Subject<T,T>
Subject<T>
with timeout.Constructor and Description |
---|
TimeoutSubject(long timeout,
Observer<T> handler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onCompleted()
Deprecated.
Notifies the observer that the provider has finished sending push-based
notifications.
|
void |
onError(Exception error)
Deprecated.
Notifies the observer that the provider has experienced an error
condition.
|
void |
onNext(T value)
Deprecated.
Provides the observer with new data.
|
public TimeoutSubject(long timeout, Observer<T> handler)
public void onNext(T value)
Observer
public void onError(Exception error)
Observer
public void onCompleted()
Observer
onCompleted
in interface Observer<T>
Copyright © 2016 The Apache Software Foundation. All rights reserved.