This file contains 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
package pc | |
import akka.actor.Actor | |
import akka.actor.Props | |
import akka.actor.ActorRef | |
import akka.actor.ActorRefFactory | |
class Parent extends Actor { | |
val child = context.actorOf(Props[Child], "child") | |
var ponged = false |