Exemplo n.º 1
0
 /// <inheritdoc/>
 public void Stop()
 {
     if (System.Threading.Interlocked.Exchange(ref _running, 0) == 0)
     {
         return;
     }
     if (log.IsDebugEnabled)
     {
         log.Debug("Stopping endpoint bound to " + _localEP);
     }
     _channel.Stop();
     _matcher.Stop();
     _matcher.Clear();
 }