com.comcast.xfinity.sirius.util
The address of this ActorSystem, as seen externally
Return the String representation of the external path of the passed in ActorRef if such exists, otherwise return the internal representation (no host/port or anything).
Return the String representation of the external path of the passed in ActorRef if such exists, otherwise return the internal representation (no host/port or anything).
This allegedly just works for Netty transport, but this is all we use.
an ActorRef which must be local to the system on which this instance was created
the as externally of a representation of this actor as possible- full path with host and port if the local ActorSystem is set up with remoting, else the path locally. Either way, this should be globally unique to all other paths this ActorRef can get to.
Class for figuring out a local actor refs remote address. This is weird, and I got the gist of it from the following guys:
Don't use directly, akka does some voodoo to make the ExtendedActorSystem available.
Suggested usage is as follows:
AkkaExternalAddressResolver(actorSystem).externalAddressFor(actorRef)