Used to simulate Akka context behavior.
Migration notes: this method replaces receiveWithin, receive and react methods from Scala Actors.
User overridable callback.
User overridable callback.
Is called when 'actor.stop()' is invoked.
User overridable callback.
User overridable callback.
Is called on a crashed Actor right BEFORE it is restarted to allow clean up of resources before Actor is terminated. By default it calls postStop()
User overridable callback.
User overridable callback.
Is called when an Actor is started by invoking 'actor'.
Adds message to a stash, to be processed later.
Adds message to a stash, to be processed later. Stashed messages can be fed back into the actors'
mailbox using unstashAll()
.
Temporarily stashing away messages that the actor does not (yet) handle. Simplifies implementing certain messaging protocols.
User overridable callback.
User overridable callback.
Is called when a message isn't handled by the current behavior of the actor by default it does: EventHandler.warning(self, message)
(Since version 2.10.0) Scala Actors are being removed from the standard library. Please refer to the migration guide.