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 length-field encoded framing. It will prepend a four-byte length header to the message; the header contains the length of the resulting frame including header in big-endian representation.
The
maxSize
argument is used to protect the communication channel sanity: larger frames will not be sent (silently dropped) or received (in which case stream decoding would be broken, hence throwing an IllegalArgumentException).