Example #1
0
        private void OnTicketResponseTimedOut(object sender, TicketMessageEventArgs e)
        {
            _log.Info($"Sending ticket '{e.TicketId}' failed due to timeout.");
            var task = _ticketHandler.HandleFailureTimeout(e.TicketId);

            if (task != null)
            {
                task.Wait();
                task.Dispose();
            }
        }
Example #2
0
 private void OnTicketResponseTimedOut(object sender, TicketMessageEventArgs e)
 {
     _log.Info($"Sending ticket '{e.TicketId}' failed due to timeout.");
 }