summaryrefslogtreecommitdiff
path: root/src/actors/scala/actors/SchedulerAdapter.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2009-05-31 13:18:37 +0000
committerPhilipp Haller <hallerp@gmail.com>2009-05-31 13:18:37 +0000
commit63031aa7f0f1f32c7b998d118c832cb181b4e99e (patch)
tree2491eeb242f1a6693a461f97a04ce9c1fc28e0b4 /src/actors/scala/actors/SchedulerAdapter.scala
parentd3a5b5b97ba4d55a4f95042dde2f31eaeedf4c10 (diff)
downloadscala-63031aa7f0f1f32c7b998d118c832cb181b4e99e.tar.gz
scala-63031aa7f0f1f32c7b998d118c832cb181b4e99e.tar.bz2
scala-63031aa7f0f1f32c7b998d118c832cb181b4e99e.zip
Renamed OutputChannelActor to Reactor.
Renamed Future.ch to Future.inputChannel. Exceptions are handled properly while matching messages. Tasks that execute actors no longer catch Throwable, but Exception.
Diffstat (limited to 'src/actors/scala/actors/SchedulerAdapter.scala')
-rw-r--r--src/actors/scala/actors/SchedulerAdapter.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actors/scala/actors/SchedulerAdapter.scala b/src/actors/scala/actors/SchedulerAdapter.scala
index f47f0cbd0f..749847d6b9 100644
--- a/src/actors/scala/actors/SchedulerAdapter.scala
+++ b/src/actors/scala/actors/SchedulerAdapter.scala
@@ -42,7 +42,7 @@ trait SchedulerAdapter extends IScheduler {
*
* @param a the actor to be registered
*/
- def newActor(a: OutputChannelActor) =
+ def newActor(a: Reactor) =
Scheduler.newActor(a)
/** Unregisters an actor from this scheduler, because it
@@ -50,7 +50,7 @@ trait SchedulerAdapter extends IScheduler {
*
* @param a the actor to be unregistered
*/
- def terminated(a: OutputChannelActor) =
+ def terminated(a: Reactor) =
Scheduler.terminated(a)
/** Registers a closure to be executed when the specified
@@ -59,6 +59,6 @@ trait SchedulerAdapter extends IScheduler {
* @param a the actor
* @param f the closure to be registered
*/
- def onTerminate(a: OutputChannelActor)(f: => Unit) =
+ def onTerminate(a: Reactor)(f: => Unit) =
Scheduler.onTerminate(a)(f)
}