public void Start(Action<ITransmissionContext> callback, ITransmissionContext state, int timeout) { Timeouts = new List<int> { timeout }; while (Count < Ticks) { callback(state); Count++; } }
public void Start(Action <ITransmissionContext> callback, ITransmissionContext state, int timeout) { Timeouts = new List <int> { timeout }; while (Count < Ticks) { callback(state); Count++; } }
public void Start(Action <ITransmissionContext> callback, ITransmissionContext state, int timeout) { _callback = callback; _timer = new Timer(TimerCallback, state, timeout, timeout); }
public void Start(Action<ITransmissionContext> callback, ITransmissionContext state, int timeout) { _callback = callback; _timer = new Timer(TimerCallback, state, timeout, timeout); }
private static void RetryCallback(ITransmissionContext transmissionContext) { }
private static void ErrorCallback(ITransmissionContext transmissionContext) { }
private void ErrorCallback(ITransmissionContext transmissionContext) { transmissionContext.Cancel(); _retransmissions.Remove(transmissionContext.Message.Id); }
private void RetryCallback(ITransmissionContext transmissionContext) { SendMessageOverLowerLayer(transmissionContext.Message); }
private void ErrorCallback(ITransmissionContext transmissionContext) { transmissionContext.Cancel(); _retransmissions.Remove(transmissionContext.Message.Id); }
private void RetryCallback(ITransmissionContext transmissionContext) { SendMessageOverLowerLayer(transmissionContext.Message); }
private static void ErrorCallback(ITransmissionContext transmissionContext) { }
private static void RetryCallback(ITransmissionContext transmissionContext) { }