first stab at handshake, #20313

* UID exchange with handshake stages
* second iteration of reply side-channel, observable
* InboundContext and OutboundContext to facilitate testing
  without real transport
* collapse ArterySubsystem and Transport into ArteryTransport
* incomplete HandshakeRestartReceiverSpec (origin address missing
  to be able to implement that part
* remove embedded aeron media driver directory on shutdown
This commit is contained in:
Patrik Nordwall 2016-05-09 07:31:41 +02:00
parent f00a95c652
commit 16cf8d4ab6
16 changed files with 1194 additions and 641 deletions

View file

@ -19,7 +19,7 @@ import scala.util.control.Exception.Catcher
import scala.concurrent.Future
import akka.ConfigurationException
import akka.dispatch.{ RequiresMessageQueue, UnboundedMessageQueueSemantics }
import akka.remote.artery.ArterySubsystem
import akka.remote.artery.ArteryTransport
/**
* INTERNAL API
@ -182,7 +182,7 @@ private[akka] class RemoteActorRefProvider(
d
},
serialization = SerializationExtension(system),
transport = if (remoteSettings.EnableArtery) new ArterySubsystem(system, this) else new Remoting(system, this))
transport = if (remoteSettings.EnableArtery) new ArteryTransport(system, this) else new Remoting(system, this))
_internals = internals
remotingTerminator ! internals