make remote lookup work
- create RemoteActorRef in actorFor - simplify send/receive because Futures/Exceptions do not go over the wire anymore - add RemoteCommunicationSpec which uses two ActorSystems communicating in the same JVM via TCP socket
This commit is contained in:
parent
25e23a3378
commit
fac840adfc
19 changed files with 376 additions and 435 deletions
|
|
@ -12,12 +12,7 @@ import com.eaio.uuid.UUID
|
|||
import akka.actor._
|
||||
import scala.collection.JavaConverters._
|
||||
|
||||
object RemoteExtension extends ExtensionId[RemoteExtensionSettings] with ExtensionIdProvider {
|
||||
def lookup() = this
|
||||
def createExtension(system: ActorSystemImpl) = new RemoteExtensionSettings(system.settings.config, system.name)
|
||||
}
|
||||
|
||||
class RemoteExtensionSettings(val config: Config, val systemName: String) extends Extension {
|
||||
class RemoteSettings(val config: Config, val systemName: String) extends Extension {
|
||||
|
||||
import config._
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue