Merge branch 'master' into wip-sync-artery-patriknw
This commit is contained in:
commit
839ec5f167
757 changed files with 9166 additions and 6642 deletions
|
|
@ -82,9 +82,10 @@ private[akka] object RemoteActorRefProvider {
|
|||
* and handled as dead letters to the original (remote) destination. Without this special case, DeathWatch related
|
||||
* functionality breaks, like the special handling of Watch messages arriving to dead letters.
|
||||
*/
|
||||
private class RemoteDeadLetterActorRef(_provider: ActorRefProvider,
|
||||
_path: ActorPath,
|
||||
_eventStream: EventStream) extends DeadLetterActorRef(_provider, _path, _eventStream) {
|
||||
private class RemoteDeadLetterActorRef(
|
||||
_provider: ActorRefProvider,
|
||||
_path: ActorPath,
|
||||
_eventStream: EventStream) extends DeadLetterActorRef(_provider, _path, _eventStream) {
|
||||
import EndpointManager.Send
|
||||
|
||||
override def !(message: Any)(implicit sender: ActorRef): Unit = message match {
|
||||
|
|
@ -112,9 +113,9 @@ private[akka] object RemoteActorRefProvider {
|
|||
*
|
||||
*/
|
||||
private[akka] class RemoteActorRefProvider(
|
||||
val systemName: String,
|
||||
val settings: ActorSystem.Settings,
|
||||
val eventStream: EventStream,
|
||||
val systemName: String,
|
||||
val settings: ActorSystem.Settings,
|
||||
val eventStream: EventStream,
|
||||
val dynamicAccess: DynamicAccess) extends ActorRefProvider {
|
||||
import RemoteActorRefProvider._
|
||||
|
||||
|
|
@ -171,16 +172,16 @@ private[akka] class RemoteActorRefProvider(
|
|||
|
||||
val internals = Internals(
|
||||
remoteDaemon = {
|
||||
val d = new RemoteSystemDaemon(
|
||||
system,
|
||||
local.rootPath / "remote",
|
||||
rootGuardian,
|
||||
remotingTerminator,
|
||||
log,
|
||||
untrustedMode = remoteSettings.UntrustedMode)
|
||||
local.registerExtraNames(Map(("remote", d)))
|
||||
d
|
||||
},
|
||||
val d = new RemoteSystemDaemon(
|
||||
system,
|
||||
local.rootPath / "remote",
|
||||
rootGuardian,
|
||||
remotingTerminator,
|
||||
log,
|
||||
untrustedMode = remoteSettings.UntrustedMode)
|
||||
local.registerExtraNames(Map(("remote", d)))
|
||||
d
|
||||
},
|
||||
serialization = SerializationExtension(system),
|
||||
transport = if (remoteSettings.EnableArtery) new ArteryTransport(system, this) else new Remoting(system, this))
|
||||
|
||||
|
|
@ -463,12 +464,12 @@ private[remote] case object LargeDestination extends LargeMessageDestinationFlag
|
|||
* This reference is network-aware (remembers its origin) and immutable.
|
||||
*/
|
||||
private[akka] class RemoteActorRef private[akka] (
|
||||
remote: RemoteTransport,
|
||||
remote: RemoteTransport,
|
||||
val localAddressToUse: Address,
|
||||
val path: ActorPath,
|
||||
val getParent: InternalActorRef,
|
||||
props: Option[Props],
|
||||
deploy: Option[Deploy])
|
||||
val path: ActorPath,
|
||||
val getParent: InternalActorRef,
|
||||
props: Option[Props],
|
||||
deploy: Option[Deploy])
|
||||
extends InternalActorRef with RemoteRef {
|
||||
|
||||
remote match {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue