Removing hostname and port for AkkaApplication, renaming defaultAddress to address, removing Deployer.RemoteAddress and use the normal akka.remote.RemoteAddress instead

This commit is contained in:
Viktor Klang 2011-11-10 19:03:18 +01:00
parent c75a8db0de
commit c6e44ffef7
13 changed files with 33 additions and 37 deletions

View file

@ -107,7 +107,7 @@ class Gossiper(remote: Remote) {
private val connectionManager = new RemoteConnectionManager(app, remote, Map.empty[RemoteAddress, ActorRef])
private val seeds = Set(address) // FIXME read in list of seeds from config
private val address = app.defaultAddress
private val address = app.address
private val nodeFingerprint = address.##
private val random = SecureRandom.getInstance("SHA1PRNG")