proxygen
wangle::Subscriber< T, R > Class Template Referenceabstract

#include <Subscriber.h>

Inheritance diagram for wangle::Subscriber< T, R >:
wangle::MockSubscriber< T, R > wangle::ObservingHandler< T, R, P >

Public Member Functions

virtual ~Subscriber ()
 
virtual void onNext (const T &)=0
 
virtual void onError (folly::exception_wrapper ex)=0
 
virtual void onCompleted ()=0
 
virtual R & routingData ()=0
 

Detailed Description

template<typename T, typename R>
class wangle::Subscriber< T, R >

Subscriber interface for listening to a stream.

Definition at line 26 of file Subscriber.h.

Constructor & Destructor Documentation

template<typename T, typename R>
virtual wangle::Subscriber< T, R >::~Subscriber ( )
inlinevirtual

Definition at line 28 of file Subscriber.h.

28 {}

Member Function Documentation

template<typename T, typename R>
virtual void wangle::Subscriber< T, R >::onNext ( const T )
pure virtual

The documentation for this class was generated from the following file: