seqeron 0.18.0
Loading...
Searching...
No Matches
org::limitless::seqeron::hosted::Consumer< Listener > Class Template Reference

The client stub of a hosted Consumer (doc/seqeron-protocol-spec.md §17.1): the surface of app::Consumer, with the queue, the replay and the fences running in a host process that this talks to over schema 218. More...

#include <org/limitless/seqeron/hosted/Consumer.hpp>

Inheritance diagram for org::limitless::seqeron::hosted::Consumer< Listener >:

Classes

struct  Config
 

Public Member Functions

 Consumer (Config config, Listener &listener)
 

Detailed Description

template<typename Listener>
class org::limitless::seqeron::hosted::Consumer< Listener >

The client stub of a hosted Consumer (doc/seqeron-protocol-spec.md §17.1): the surface of app::Consumer, with the queue, the replay and the fences running in a host process that this talks to over schema 218.

Its listener is the direct Consumer's, and a Payload reaches it as it would there.

It sends only Attach and Detach: no stream 304, no Gate, no commands, and the host opens no cluster session for it. Fenced, the host sends Fenced and exits (H-9); the listener's onFenced runs once.

Single-threaded: every method belongs to the caller's one duty-cycle thread.

Constructor & Destructor Documentation

◆ Consumer()

template<typename Listener >
org::limitless::seqeron::hosted::Consumer< Listener >::Consumer ( Config  config,
Listener &  listener 
)
inline

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