diff options
author | Philipp Haller <hallerp@gmail.com> | 2009-05-31 13:18:37 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2009-05-31 13:18:37 +0000 |
commit | 63031aa7f0f1f32c7b998d118c832cb181b4e99e (patch) | |
tree | 2491eeb242f1a6693a461f97a04ce9c1fc28e0b4 /src/actors/scala/actors/IScheduler.scala | |
parent | d3a5b5b97ba4d55a4f95042dde2f31eaeedf4c10 (diff) | |
download | scala-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/IScheduler.scala')
-rw-r--r-- | src/actors/scala/actors/IScheduler.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actors/scala/actors/IScheduler.scala b/src/actors/scala/actors/IScheduler.scala index 42530a8381..49b42d39d6 100644 --- a/src/actors/scala/actors/IScheduler.scala +++ b/src/actors/scala/actors/IScheduler.scala @@ -47,14 +47,14 @@ trait IScheduler { * * @param a the actor to be registered */ - def newActor(a: OutputChannelActor): Unit + def newActor(a: Reactor): Unit /** Unregisters an actor from this scheduler, because it * has terminated. * * @param a the actor to be registered */ - def terminated(a: OutputChannelActor): Unit + def terminated(a: Reactor): Unit /** Registers a closure to be executed when the specified * actor terminates. @@ -62,5 +62,5 @@ trait IScheduler { * @param a the actor * @param f the closure to be registered */ - def onTerminate(a: OutputChannelActor)(f: => Unit): Unit + def onTerminate(a: Reactor)(f: => Unit): Unit } |