DelegatingObserver

public abstract class DelegatingObserver<T>

A stream observer which delegates calls to another observer of the same target type.

This class is meant to be used as an implementation base for observers which delegate all or some calls to a given observer. The implementations may discard calls to super when not required.

Parameters

<T>

the observed type

Constructors

Link copied to clipboard
protected void DelegatingObserver(StreamObserver<? super T> delegate)

Functions

Link copied to clipboard
public void onCompleted()
Link copied to clipboard
public void onError(Throwable t)
Link copied to clipboard
public void onNext(T value)