Trbnet Streaming API

A streaming API allows an application to be inserted into the data stream. There it can fullfill two different tasks: It can simply preprocess the data stream and then send it on with some changes. An extended version of this api can also contain an additional network connection. In this mode, the data that is received can be coupled out of the main network and is sent on this separated link to another receiver. On the original stream only a small transfer with some status information is kept.

Each streaming API is connected to only one data channel, all others channels are not affected by its operation. On the channel it is connected to, it acts as an endpoint to be able to receive incoming transfers. This endpoint always answers with a short transfer.

The users streaming application has three ports it is connected to: the incoming init data (this is read only and is terminated automatically), the incoming reply data and the reply data output.
In the case of a design to couple out data, the additional data port is implemented by the user application. (There will be some prewritten code to allow the user to not care about this)