Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public Task Stopping(ReceiveEndpointStopping stopping)
        {
            UpdateEndpoint(stopping);

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

            return(TaskUtil.Completed);
        }
Exemplo n.º 3
0
        public Task Stopping(ReceiveEndpointStopping stopping)
        {
            GetEndpoint(stopping);

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

            return(TaskUtil.Completed);
        }
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(Task.CompletedTask);
 }
Exemplo n.º 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)));
 }
Exemplo n.º 11
0
 public Task Stopping(ReceiveEndpointStopping stopping)
 {
     return(_serviceEndpoint.NotifyDown());
 }