Interface IBowireFrameSend
- Namespace
- Kuestenlogik.Bowire
- Assembly
- Kuestenlogik.Bowire.dll
#1051 — optional extension for IBowireProtocol implementations whose stream frames can be sent again: an MQTT message (published to its topic), a Kafka record (produced to its topic), a message an actor tap saw (told to its recipient). A recorded stream then plays back into a system as the sends that make up its frames.
public interface IBowireFrameSend
Remarks
A frame names where it was observed, which is not the method that produced
it: an MQTT subscription on sensors/+ yields frames from
sensors/hall, and the send must go to sensors/hall. Only the
plugin knows its frame shape, so the mapping is the plugin's.
Methods
SendFor(string, string, string)
The send that reproduces frameJson, a frame this
plugin's InvokeStreamAsync(string, string, string, List<string>, bool, Dictionary<string, string>?, CancellationToken) yielded for
service / method; null when the
frame is not one that can be sent again.
BowireFrameSend? SendFor(string service, string method, string frameJson)