protected RemoteNodeDeathWatchSpec(RemoteNodeDeathWatchMultiNetSpec config, Type type) : base(config, type)
        {
            _config = config;

            _remoteWatcher = new Lazy <IActorRef>(() =>
            {
                Sys.ActorSelection("/system/remote-watcher").Tell(new Identify(null));
                return(ExpectMsg <ActorIdentity>(TimeSpan.FromSeconds(10)).Subject);
            });

            _identify = (role, actorName) =>
            {
                Sys.ActorSelection(Node(role) / "user" / actorName).Tell(new Identify(actorName));
                return(ExpectMsg <ActorIdentity>(TimeSpan.FromSeconds(10)).Subject);
            };

            MuteDeadLetters(null, typeof(Heartbeat));
        }
        protected RemoteNodeDeathWatchSpec(RemoteNodeDeathWatchMultiNetSpec config) : base(config)
        {
            _config = config;

            _remoteWatcher = new Lazy<IActorRef>(() =>
            {
                Sys.ActorSelection("/system/remote-watcher").Tell(new Identify(null));
                return ExpectMsg<ActorIdentity>(TimeSpan.FromSeconds(10)).Subject;
            });

            _identify = (role, actorName) =>
            {
                Sys.ActorSelection(Node(role) / "user" / actorName).Tell(new Identify(actorName));
                return ExpectMsg<ActorIdentity>(TimeSpan.FromSeconds(10)).Subject;
            };

            MuteDeadLetters(null, typeof(Heartbeat));
        }