Remember that the the type of receive method is alias for
PartialFunction[Any, Unit] and you can compose partial functions using
orElse[1]
You can defined several message handling function in your base class, and
them mix match them in derived classes:
One easy way is to extend UntypedActor, override whatever methods you need
with final methods and provide your own callback methods for overriding by
sub classes.
The slightly messy part of this is that you’ll be forced to provide
callback method names with different names (e.g.