move ask machinery from ActorRefProvider to pattern.AskSupport

- now everything is assembled in one spot
- also moved PromiseActorRef and AskTimeoutException from akka.actor
- plus a little boy-scouting
This commit is contained in:
Roland 2012-01-18 11:52:35 +01:00
parent 2bed2cb954
commit 00ec3f89dc
11 changed files with 226 additions and 163 deletions

View file

@ -83,8 +83,8 @@ akka {
"support ask" in {
Await.result(here ? "ping", timeout.duration) match {
case ("pong", s: PromiseActorRef) // good
case m fail(m + " was not (pong, AskActorRef)")
case ("pong", s: akka.pattern.AskSupport.PromiseActorRef) // good
case m fail(m + " was not (pong, AskActorRef)")
}
}