aboutsummaryrefslogtreecommitdiff
path: root/stream/src/main/scala/akka/serial/stream/impl/SerialConnectionLogic.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stream/src/main/scala/akka/serial/stream/impl/SerialConnectionLogic.scala')
-rw-r--r--stream/src/main/scala/akka/serial/stream/impl/SerialConnectionLogic.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/stream/src/main/scala/akka/serial/stream/impl/SerialConnectionLogic.scala b/stream/src/main/scala/akka/serial/stream/impl/SerialConnectionLogic.scala
index 0f81597..a650c82 100644
--- a/stream/src/main/scala/akka/serial/stream/impl/SerialConnectionLogic.scala
+++ b/stream/src/main/scala/akka/serial/stream/impl/SerialConnectionLogic.scala
@@ -143,11 +143,11 @@ private[stream] class SerialConnectionLogic(
if (isAvailable(out)) {
push(out, data)
} else if (failOnOverflow) {
- /* Note that the native backend does not provide any way of informing about
- * dropped serial data. However, in most cases, a computer capable of running flow
- * is also capable of processing incoming serial data at typical baud rates.
- * Hence packets will usually only be dropped if an application that uses flow
- * backpressures, which can however be detected here. */
+ /* Note that the native backend does not provide any way of informing about dropped serial
+ * data. However, in most cases, a computer capable of running akka-serial is also capable
+ * of processing incoming serial data at typical baud rates. Hence packets will usually
+ * only be dropped if an application that uses akka-serial backpressures, which can
+ * however be detected here. */
failStage(new StreamSerialException("Incoming serial data was dropped."))
}