rename RefInternals to InternalActorRef and restructure
- IAR is subclass of AR and SAR - all concrete ARs implement IAR - move sendSystemMessage to IAR all in preparation for unifying the ActorPath look-up for local&remote actor refs
This commit is contained in:
parent
e38cd19af9
commit
a3e6fca530
10 changed files with 106 additions and 110 deletions
|
|
@ -56,7 +56,7 @@ class Remote(val system: ActorSystemImpl, val nodename: String) {
|
|||
private[remote] lazy val remoteDaemon =
|
||||
system.provider.actorOf(system,
|
||||
Props(new RemoteSystemDaemon(this)).withDispatcher(dispatcherFactory.newPinnedDispatcher(remoteDaemonServiceName)),
|
||||
remoteDaemonSupervisor,
|
||||
remoteDaemonSupervisor.asInstanceOf[InternalActorRef],
|
||||
remoteDaemonServiceName,
|
||||
systemService = true)
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ class RemoteSystemDaemon(remote: Remote) extends Actor {
|
|||
message.getActorPath match {
|
||||
case RemoteActorPath(addr, elems) if addr == remoteAddress && elems.size > 0 ⇒
|
||||
val name = elems.last
|
||||
system.actorFor(elems.dropRight(1)) match {
|
||||
systemImpl.provider.actorFor(elems.dropRight(1)) match {
|
||||
case x if x eq system.deadLetters ⇒
|
||||
log.error("Parent actor does not exist, ignoring remote system daemon command [{}]", message)
|
||||
case parent ⇒
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue