Get remoting working under the remote actor ref provider

This commit is contained in:
Peter Vlugter 2011-10-13 17:42:26 +02:00
parent e94860b57b
commit d9e0088f3c
39 changed files with 309 additions and 460 deletions

View file

@ -33,11 +33,6 @@ object NetworkEventStream {
trait Listener {
def notify(event: RemoteLifeCycleEvent)
}
}
class NetworkEventStream(val app: AkkaApplication) {
import NetworkEventStream._
/**
* Channel actor with a registry of listeners.
@ -63,8 +58,13 @@ class NetworkEventStream(val app: AkkaApplication) {
case _ //ignore other
}
}
}
private[akka] val channel = new LocalActorRef(app,
class NetworkEventStream(val app: AkkaApplication) {
import NetworkEventStream._
private[akka] val channel = app.provider.actorOf(
Props[Channel].copy(dispatcher = app.dispatcherFactory.newPinnedDispatcher("NetworkEventStream")), newUuid.toString, systemService = true)
/**