Merge pull request #338 from jboner/wip-1845-monitor-typed-actors-√

Wip 1845 monitor typed actors √
This commit is contained in:
viktorklang 2012-02-20 13:02:42 -08:00
commit a0bb415393
4 changed files with 72 additions and 24 deletions

View file

@ -172,6 +172,15 @@ By having your Typed Actor implementation class implement any and all of the fol
You can hook into the lifecycle of your Typed Actor.
Receive arbitrary messages
--------------------------
If your implementation class of your TypedActor extends ``akka.actor.TypedActor.Receiver``,
all messages that are not ``MethodCall``s will be passed into the ``onReceive``-method.
This allows you to react to DeathWatch ``Terminated``-messages and other types of messages,
e.g. when interfacing with untyped actors.
Supercharging
-------------