|
seqeron 0.18.0
|
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>
Classes | |
| struct | Config |
Public Member Functions | |
| Consumer (Config config, Listener &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.
|
inline |