Requires: Base Development System
Use the Lossy Stream channel to communicate homogeneous data from a single writer to a single reader. If the channel is already full when the writer attempts to write a new data, the writer does not wait for space to be available. Instead, the channel optionally either drops the oldest data element in the channel to make room for this new data or discards this new data. You can use the Lossy Stream readers to identify data gaps.
Endpoint | Description |
---|---|
Read | Reads an element from a Lossy Stream channel. |
Read Scheduled | Reads an element from a Lossy Stream channel at a scheduled time. The endpoint waits if no element is available in the channel at the scheduled time. |
Read With Abort | Reads an element from a Lossy Stream channel or signals the channel to abort. This endpoint is the same as the Read endpoint except that it has an abort input and an aborted? output. You can use the abort capability of the Lossy Stream channel to close a channel abruptly, ignoring any data left in the channel buffer. You must use this endpoint together with the Write With Abort endpoint. |
Write | Writes an element to a Lossy Stream channel. If the channel is full, this endpoint either drops the oldest element in the channel to make room for this new element or discards this new element. |
Write Scheduled | Writes an element to a Lossy Stream channel at a scheduled time. The endpoint waits until the scheduled time and continues waiting if the channel is full at the scheduled time. |
Write With Abort | Writes an element to a Lossy Stream channel or signals the channel to abort. The endpoint waits if the channel is full. This endpoint is the same as the Write endpoint except that it has an abort input and an aborted? output. You can use the abort capability of the Lossy Stream channel to close a channel abruptly, ignoring any data left in the channel buffer. You must use this endpoint together with the Read With Abort endpoint. |