Rebased from master branch

This commit is contained in:
Jonas Bonér 2011-04-27 01:06:08 +02:00
commit 868ec62ee7
213 changed files with 19217 additions and 1551 deletions

View file

@ -143,7 +143,7 @@ trait MessageDispatcher {
while (i.hasNext()) {
val uuid = i.next()
Actor.registry.local.actorFor(uuid) match {
case Some(actor) => actor.stop
case Some(actor) => actor.stop()
case None => {}
}
}
@ -215,6 +215,9 @@ trait MessageDispatcher {
* Trait to be used for hooking in new dispatchers into Dispatchers.fromConfig
*/
abstract class MessageDispatcherConfigurator {
/**
* Returns an instance of MessageDispatcher given a Configuration
*/
def configure(config: Configuration): MessageDispatcher
def mailboxType(config: Configuration): MailboxType = {