OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // The entity that handles framing writes for a Quic client or server. | 5 // The entity that handles framing writes for a Quic client or server. |
6 // Each QuicSession will have a connection associated with it. | 6 // Each QuicSession will have a connection associated with it. |
7 // | 7 // |
8 // On the server side, the Dispatcher handles the raw reads, and hands off | 8 // On the server side, the Dispatcher handles the raw reads, and hands off |
9 // packets via ProcessUdpPacket for framing and processing. | 9 // packets via ProcessUdpPacket for framing and processing. |
10 // | 10 // |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 bool OnGoAwayFrame(const QuicGoAwayFrame& frame) override; | 452 bool OnGoAwayFrame(const QuicGoAwayFrame& frame) override; |
453 bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; | 453 bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) override; |
454 bool OnBlockedFrame(const QuicBlockedFrame& frame) override; | 454 bool OnBlockedFrame(const QuicBlockedFrame& frame) override; |
455 bool OnPathCloseFrame(const QuicPathCloseFrame& frame) override; | 455 bool OnPathCloseFrame(const QuicPathCloseFrame& frame) override; |
456 void OnPacketComplete() override; | 456 void OnPacketComplete() override; |
457 | 457 |
458 // QuicPacketGenerator::DelegateInterface | 458 // QuicPacketGenerator::DelegateInterface |
459 bool ShouldGeneratePacket(HasRetransmittableData retransmittable, | 459 bool ShouldGeneratePacket(HasRetransmittableData retransmittable, |
460 IsHandshake handshake) override; | 460 IsHandshake handshake) override; |
461 void PopulateAckFrame(QuicAckFrame* ack) override; | 461 void PopulateAckFrame(QuicAckFrame* ack) override; |
| 462 const QuicFrame GetUpdatedAckFrame() override; |
462 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override; | 463 void PopulateStopWaitingFrame(QuicStopWaitingFrame* stop_waiting) override; |
463 | 464 |
464 // QuicPacketCreator::DelegateInterface | 465 // QuicPacketCreator::DelegateInterface |
465 void OnSerializedPacket(SerializedPacket* packet) override; | 466 void OnSerializedPacket(SerializedPacket* packet) override; |
466 void OnUnrecoverableError(QuicErrorCode error, | 467 void OnUnrecoverableError(QuicErrorCode error, |
467 ConnectionCloseSource source) override; | 468 ConnectionCloseSource source) override; |
468 | 469 |
469 // QuicSentPacketManager::NetworkChangeVisitor | 470 // QuicSentPacketManager::NetworkChangeVisitor |
470 void OnCongestionWindowChange() override; | 471 void OnCongestionWindowChange() override; |
471 void OnRttChange() override; | 472 void OnRttChange() override; |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 | 1050 |
1050 // If true, multipath is enabled for this connection. | 1051 // If true, multipath is enabled for this connection. |
1051 bool multipath_enabled_; | 1052 bool multipath_enabled_; |
1052 | 1053 |
1053 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 1054 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
1054 }; | 1055 }; |
1055 | 1056 |
1056 } // namespace net | 1057 } // namespace net |
1057 | 1058 |
1058 #endif // NET_QUIC_QUIC_CONNECTION_H_ | 1059 #endif // NET_QUIC_QUIC_CONNECTION_H_ |
OLD | NEW |