/// <summary> /// TBD /// </summary> /// <param name="system">TBD</param> /// <returns>TBD</returns> protected virtual IActorRef CreateRemoteWatcher(ActorSystemImpl system) { var failureDetector = CreateRemoteWatcherFailureDetector(system); return(system.SystemActorOf(RemoteSettings.ConfigureDispatcher( Akka.Remote.RemoteWatcher.Props( failureDetector, RemoteSettings.WatchHeartBeatInterval, RemoteSettings.WatchUnreachableReaperInterval, RemoteSettings.WatchHeartbeatExpectedResponseAfter)), "remote-watcher")); }
public virtual void Init(ActorSystemImpl system) { _system = system; _local.Init(system); _remotingTerminator = _system.SystemActorOf( RemoteSettings.ConfigureDispatcher(Props.Create(() => new RemotingTerminator(_local.SystemGuardian))), "remoting-terminator"); _remotingTerminator.Tell(RemoteInternals); Transport.Start(); _remoteWatcher = CreateRemoteWatcher(system); }
/// <inheritdoc/> public virtual void Init(ActorSystemImpl system) { _system = system; _local.Init(system); _actorRefResolveThreadLocalCache = ActorRefResolveThreadLocalCache.For(system); _actorPathThreadLocalCache = ActorPathThreadLocalCache.For(system); _remotingTerminator = _system.SystemActorOf( RemoteSettings.ConfigureDispatcher(Props.Create(() => new RemotingTerminator(_local.SystemGuardian))), "remoting-terminator"); _internals = CreateInternals(); _remotingTerminator.Tell(RemoteInternals); Transport.Start(); _remoteWatcher = CreateRemoteWatcher(system); _remoteDeploymentWatcher = CreateRemoteDeploymentWatcher(system); }
/// <summary> /// TBD /// </summary> /// <param name="system">TBD</param> /// <returns>TBD</returns> protected virtual IActorRef CreateRemoteDeploymentWatcher(ActorSystemImpl system) { return(system.SystemActorOf(RemoteSettings.ConfigureDispatcher(Props.Create <RemoteDeploymentWatcher>()), "remote-deployment-watcher")); }