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 // |
11 // On the client side, the Connection handles the raw reads, as well as the | 11 // On the client side, the Connection handles the raw reads, as well as the |
12 // processing. | 12 // processing. |
13 // | 13 // |
14 // Note: this class is not thread-safe. | 14 // Note: this class is not thread-safe. |
15 | 15 |
16 #ifndef NET_QUIC_QUIC_CONNECTION_H_ | 16 #ifndef NET_QUIC_QUIC_CONNECTION_H_ |
17 #define NET_QUIC_QUIC_CONNECTION_H_ | 17 #define NET_QUIC_QUIC_CONNECTION_H_ |
18 | 18 |
19 #include <list> | 19 #include <list> |
| 20 #include <map> |
20 #include <queue> | 21 #include <queue> |
21 #include <set> | 22 #include <set> |
22 #include <vector> | 23 #include <vector> |
23 | 24 |
24 #include "base/hash_tables.h" | 25 #include "base/hash_tables.h" |
25 #include "net/base/ip_endpoint.h" | 26 #include "net/base/ip_endpoint.h" |
26 #include "net/quic/congestion_control/quic_congestion_manager.h" | 27 #include "net/quic/congestion_control/quic_congestion_manager.h" |
27 #include "net/quic/quic_blocked_writer_interface.h" | 28 #include "net/quic/quic_blocked_writer_interface.h" |
28 #include "net/quic/quic_fec_group.h" | 29 #include "net/quic/quic_fec_group.h" |
29 #include "net/quic/quic_framer.h" | 30 #include "net/quic/quic_framer.h" |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 bool received_truncated_ack_; | 511 bool received_truncated_ack_; |
511 | 512 |
512 bool send_ack_in_response_to_packet_; | 513 bool send_ack_in_response_to_packet_; |
513 | 514 |
514 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 515 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
515 }; | 516 }; |
516 | 517 |
517 } // namespace net | 518 } // namespace net |
518 | 519 |
519 #endif // NET_QUIC_QUIC_CONNECTION_H_ | 520 #endif // NET_QUIC_QUIC_CONNECTION_H_ |
OLD | NEW |