Added some more localActorOf methods and use them internally in cluster
This commit is contained in:
parent
1997d971a0
commit
241831c5ee
2 changed files with 14 additions and 2 deletions
|
|
@ -283,7 +283,7 @@ class DefaultClusterNode private[akka] (
|
|||
|
||||
import Cluster._
|
||||
|
||||
lazy val remoteClientLifeCycleListener = actorOf(new Actor {
|
||||
lazy val remoteClientLifeCycleListener = localActorOf(new Actor {
|
||||
def receive = {
|
||||
case RemoteClientError(cause, client, address) ⇒ client.shutdownClientModule()
|
||||
case RemoteClientDisconnected(client, address) ⇒ client.shutdownClientModule()
|
||||
|
|
@ -291,7 +291,7 @@ class DefaultClusterNode private[akka] (
|
|||
}
|
||||
}, "akka.cluster.RemoteClientLifeCycleListener").start()
|
||||
|
||||
lazy val remoteDaemon = actorOf(new RemoteClusterDaemon(this), RemoteClusterDaemon.ADDRESS).start()
|
||||
lazy val remoteDaemon = localActorOf(new RemoteClusterDaemon(this), RemoteClusterDaemon.ADDRESS).start()
|
||||
|
||||
lazy val remoteDaemonSupervisor = Supervisor(
|
||||
SupervisorConfig(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue