Пример #1
0
        private void HandleFindRunningJob(FindRunningJob job)
        {
            var haveChild = Context.Child(job.Key.Root.ToActorName());

            //found a running job already
            if (!haveChild.Equals(ActorRefs.Nobody))
            {
                ApiBroadcaster.Tell(new JobFound(job.Key, haveChild));
            }
        }
        private void HandleFindRunningJob(FindRunningJob job)
        {
            var haveChild = Context.Child(job.Key.Root.ToActorName());

            //found a running job already
            if (!haveChild.Equals(ActorRefs.Nobody))
            {
                ApiBroadcaster.Tell(new JobFound(job.Key, haveChild));
            }
        }