Example #1
0
        public Task Stopping(ReceiveEndpointStopping stopping)
        {
            if (stopping.Removed && _endpoints.TryGetValue(stopping.InputAddress, out var endpoint))
            {
                _endpoints.TryUpdate(stopping.InputAddress, new RemoveWhenCompletedEndpointHealth(stopping.ReceiveEndpoint), endpoint);
            }

            return(TaskUtil.Completed);
        }
Example #2
0
        public Task Stopping(ReceiveEndpointStopping stopping)
        {
            UpdateEndpoint(stopping);

            if (stopping.Removed)
            {
                _endpoints.TryRemove(stopping.InputAddress, out var endpoint);
            }

            return(TaskUtil.Completed);
        }
Example #3
0
        public Task Stopping(ReceiveEndpointStopping stopping)
        {
            GetEndpoint(stopping);

            return(TaskUtil.Completed);
        }
Example #4
0
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(_endpointHealth.Stopping(stopping));
 }
Example #5
0
 Task IReceiveEndpointObserver.Stopping(ReceiveEndpointStopping stopping)
 {
     return(TaskUtil.Completed);
 }
Example #6
0
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(Util.TaskUtil.Completed);
 }
        public Task Stopping(ReceiveEndpointStopping stopping)
        {
            GetEndpoint(stopping.InputAddress).OnStopping();

            return(TaskUtil.Completed);
        }
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(Task.CompletedTask);
 }
Example #9
0
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(_machine.RaiseEvent(_endpoint, x => x.ReceiveEndpointStopping, stopping));
 }
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(ForEachAsync(x => x.Stopping(stopping)));
 }
Example #11
0
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(_serviceEndpoint.NotifyDown());
 }