Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trait Node { actor:Actor =>
- def send(actorRef:ActorRef, m:Any) { actorRef.tell(m) }
- def reply(m:Any) { sender ! m }
- def forward(actorRef:ActorRef, m:Any) { actorRef.forward(m) }
- def actorOf(props:Props):ActorRef = actor.context.actorOf(props)
- def actorFor(actorPath:ActorPath):ActorRef = actor.context.actorFor(actorPath)
- }
Add Comment
Please, Sign In to add comment