Created
February 18, 2015 15:12
-
-
Save 2m/5cce1073f96535b1368f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActorBase extends Actor { | |
def receive = { | |
case _ => | |
} | |
} | |
class AnotherActor extends ActorBase { | |
val myReceive: Receive = { | |
case "msg" => | |
} | |
def receive = myReceive.orElse(super.receive) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment