Start actor after it can be resolved with actorFor. #2575

This commit is contained in:
Björn Antonsson 2012-10-10 14:19:15 +02:00
parent 228956a00d
commit 6b6eeb22ba
8 changed files with 33 additions and 9 deletions

View file

@ -243,6 +243,8 @@ private[akka] class RemoteActorRef private[akka] (
provider.deadLetters ! message
}
def start(): ActorRef = this
def suspend(): Unit = sendSystemMessage(Suspend())
def resume(causedByFailure: Throwable): Unit = sendSystemMessage(Resume(causedByFailure))