This commit is contained in:
Viktor Klang 2010-10-22 17:50:48 +02:00
parent 7b56928bca
commit 3ecb38b5b7
8 changed files with 322 additions and 212 deletions

View file

@ -69,6 +69,7 @@ trait MessageDispatcher extends MailboxFactory with Logging {
def shutdown: Unit
def register(actorRef: ActorRef) {
start
if (actorRef.mailbox eq null) actorRef.mailbox = createMailbox(actorRef)
uuids add actorRef.uuid
}