private void CheckForTimeout(long timestamp)
        {
            if (!Debugger.IsAttached)
            {
                if (timestamp > Interlocked.Read(ref _timeoutTimestamp))
                {
                    CancelTimeout();

                    _timeoutHandler.OnTimeout(_timeoutReason);
                }
            }
        }
示例#2
0
 private void NotifyTimeout(long availableSequence)
 {
     try
     {
         _timeoutHandler?.OnTimeout(availableSequence);
     }
     catch (Exception ex)
     {
         _exceptionHandler.HandleEventException(ex, availableSequence, null);
     }
 }
 private void NotifyTimeout(long availableSequence)
 {
     try
     {
         if (timeoutHandler != null)
         {
             timeoutHandler.OnTimeout(availableSequence);
         }
     }
     catch (Exception e)
     {
         exceptionHandler.HandleEventException(e, availableSequence, null);
     }
 }
示例#4
0
 public void OnTimeout(TimeoutReason reason)
 {
     _inner.OnTimeout(reason);
     _http3._httpConnection.OnTimeout(reason);
 }