C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::flow::subscription::listener Class Referenceabstract

Describes a listener to the subscription that will receive an event whenever the observer calls request or cancel. More...

#include <subscription.hpp>

Inheritance diagram for caf::flow::subscription::listener:
caf::flow::coordinated

Public Member Functions

virtual void on_request (coordinated *sink, size_t n)=0
 
virtual void on_cancel (coordinated *sink)=0
 
virtual void on_dispose (coordinated *sink)=0
 
- Public Member Functions inherited from caf::flow::coordinated
virtual coordinatorparent () const noexcept=0
 Returns the coordinator this object lives on.
 
virtual void ref_coordinated () const noexcept=0
 Increases the reference count of the coordinated.
 
virtual void deref_coordinated () const noexcept=0
 Decreases the reference count of the coordinated and destroys the object if necessary.
 

Additional Inherited Members

Detailed Description

Describes a listener to the subscription that will receive an event whenever the observer calls request or cancel.


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