#1424 - RemoteSupport is now instantiated from the config, so now anyone can write their own Akka transport layer for remote actors

This commit is contained in:
Viktor Klang 2011-12-02 18:08:13 +01:00
parent b2ecad1327
commit 95791ce4c5
7 changed files with 17 additions and 11 deletions

View file

@ -297,7 +297,7 @@ class DefaultClusterNode private[akka] (
:: Nil)).start()
lazy val remoteService: RemoteSupport = {
val remote = new akka.cluster.netty.NettyRemoteSupport
val remote = new akka.remote.netty.NettyRemoteSupport
remote.start(hostname, port)
remote.register(RemoteClusterDaemon.Address, remoteDaemon)
remote.addListener(RemoteFailureDetector.sender)