protected virtual string GetAddress(ActorSystem actorSystem) { var systemName = actorSystem.Name; var currentIpAddress = HostAddressHelpers.GetLocalIPAddress(); var portNumber = _port; return($"akka.tcp://{systemName}@{currentIpAddress}:{portNumber}"); }
protected override void AddConfigurationSettings(IDictionary <string, string> configEntries) { configEntries["akka.actor.provider"] = "\"Akka.Remote.RemoteActorRefProvider, Akka.Remote\""; configEntries["akka.remote.helios.tcp.port"] = _port.ToString(); configEntries["akka.remote.helios.tcp.hostname"] = HostAddressHelpers.GetLocalIPAddress(); }