Added defaultAddress() to RemoteTransport API
This commit is contained in:
parent
b6bdb34e44
commit
682abccf7e
12 changed files with 40 additions and 28 deletions
|
|
@ -216,7 +216,7 @@ package docs.serialization {
|
|||
object ExternalAddress extends ExtensionKey[ExternalAddressExt]
|
||||
|
||||
class ExternalAddressExt(system: ExtendedActorSystem) extends Extension {
|
||||
def addressForAkka: Address = akka.transportOf(system).addresses.head
|
||||
def addressForAkka: Address = akka.transportOf(system).defaultAddress
|
||||
}
|
||||
|
||||
def serializeAkkaDefault(ref: ActorRef): String =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue