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