java docs for Artery, #21209

* and a few other things
* fixed some remaining akka.tcp
This commit is contained in:
Patrik Nordwall 2016-09-30 18:20:47 +02:00
parent 4a4f9c76f9
commit 7af814d3df
13 changed files with 848 additions and 39 deletions

View file

@ -42,6 +42,13 @@ class RemoteDeploymentDocSpec extends AkkaSpec("""
expectMsgType[ActorRef].path.address should be(address)
}
def makeAddress(): Unit = {
//#make-address-artery
val one = AddressFromURIString("akka://sys@host:1234")
val two = Address("akka", "sys", "host", 1234) // this gives the same
//#make-address-artery
}
"demonstrate address extractor" in {
//#make-address
val one = AddressFromURIString("akka.tcp://sys@host:1234")