aboutsummaryrefslogtreecommitdiff
path: root/scala/ace/src/main/scala/com/github/jodersky/ace/PhysicalLayer.scala
diff options
context:
space:
mode:
Diffstat (limited to 'scala/ace/src/main/scala/com/github/jodersky/ace/PhysicalLayer.scala')
-rw-r--r--scala/ace/src/main/scala/com/github/jodersky/ace/PhysicalLayer.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/scala/ace/src/main/scala/com/github/jodersky/ace/PhysicalLayer.scala b/scala/ace/src/main/scala/com/github/jodersky/ace/PhysicalLayer.scala
new file mode 100644
index 0000000..61ebd88
--- /dev/null
+++ b/scala/ace/src/main/scala/com/github/jodersky/ace/PhysicalLayer.scala
@@ -0,0 +1,5 @@
+package com.github.jodersky.ace
+
+trait PhysicalLayer extends ReactiveLayer[Nothing, Seq[Int]] {
+ protected def receive(nothing: Nothing) = throw new UnsupportedOperationException("A receive function cannot be called on the lowest layer.")
+} \ No newline at end of file