The maximum size of the frame the pipeline is willing to decode. Not checked for encoding, as the sender might decide to pass through multiple chunks in one go (multiple lines in case of a line-based protocol)
The sequence of bytes that will be used as the delimiter for decoding.
If enabled, the delmiter bytes will be part of the decoded messages. In the case of sends the delimiter has to be appended to the end of frames by the user. It is also possible to send multiple frames by embedding multiple delimiters in the passed ByteString
Scala API: attach the two given stages such that the command output of the first is fed into the command input of the second, and the event output of the second is fed into the event input of the first.
Scala API: attach the two given stages such that the command output of the first is fed into the command input of the second, and the event output of the second is fed into the event input of the first. In other words: sequence the stages such that the left one is on top of the right one.
the right or lower pipeline stage
a pipeline stage representing the sequence of the two stages
Implement this method to generate this stage’s pair of command and event functions.
Implement this method to generate this stage’s pair of command and event functions.
INTERNAL API: do not use this method to instantiate a pipeline!
AbstractSymmetricPipePair
AbstractPipePair
PipelineFactory
Scala API: combine the two stages such that the command pipeline of the left stage is used and the event pipeline of the right, discarding the other two sub-pipelines.
Scala API: combine the two stages such that the command pipeline of the left stage is used and the event pipeline of the right, discarding the other two sub-pipelines.
the event pipeline
a pipeline stage using the left command pipeline and the right event pipeline
Pipeline stage for delimiter byte based framing and de-framing. Useful for string oriented protocol using '\n' or 0 as delimiter values.