예제 #1
0
        private void OnLowerLayerHeartbeatMessage(HeartBeatMessage heartbeat)
        {
            var window = _windows.GetOrAdd(heartbeat.ConnectionId, _ => new InputMovingWindow());

            window.UpdateLastSentMessage(heartbeat.LastSentMessage);
            AskForRegeneration(heartbeat.ConnectionId, window);
        }
 private void OnLowerLayerHeartbeatMessage(HeartBeatMessage heartbeat)
 {
     var window = _windows.GetOrAdd(heartbeat.ConnectionId, _ => new InputMovingWindow());
     window.UpdateLastSentMessage(heartbeat.LastSentMessage);
     AskForRegeneration(heartbeat.ConnectionId, window);
 }