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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
758 bool self_ip_changed_; | 758 bool self_ip_changed_; |
759 | 759 |
760 // Set to true if the UDP packet headers are addressed to a different port. | 760 // Set to true if the UDP packet headers are addressed to a different port. |
761 // We do not support connection migration when the self port changed. | 761 // We do not support connection migration when the self port changed. |
762 bool self_port_changed_; | 762 bool self_port_changed_; |
763 | 763 |
764 // If non-empty this contains the set of versions received in a | 764 // If non-empty this contains the set of versions received in a |
765 // version negotiation packet. | 765 // version negotiation packet. |
766 QuicVersionVector server_supported_versions_; | 766 QuicVersionVector server_supported_versions_; |
767 | 767 |
768 base::WeakPtrFactory<QuicConnection> weak_factory_; | |
Ryan Hamilton
2014/06/18 23:59:51
This is chrome specific, and probably shouldn't go
dmz
2014/06/19 17:46:24
Removed.
| |
769 | |
768 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 770 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
769 }; | 771 }; |
770 | 772 |
771 } // namespace net | 773 } // namespace net |
772 | 774 |
773 #endif // NET_QUIC_QUIC_CONNECTION_H_ | 775 #endif // NET_QUIC_QUIC_CONNECTION_H_ |
OLD | NEW |