OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // A server side dispatcher which dispatches a given client's data to their | 5 // A server side dispatcher which dispatches a given client's data to their |
6 // stream. | 6 // stream. |
7 | 7 |
8 #ifndef NET_QUIC_QUIC_DISPATCHER_H_ | 8 #ifndef NET_QUIC_QUIC_DISPATCHER_H_ |
9 #define NET_QUIC_QUIC_DISPATCHER_H_ | 9 #define NET_QUIC_QUIC_DISPATCHER_H_ |
10 | 10 |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // This is used to construct new QuicConnections when flow control is disabled | 204 // This is used to construct new QuicConnections when flow control is disabled |
205 // via flag. | 205 // via flag. |
206 // TODO(rjshade): Remove this when | 206 // TODO(rjshade): Remove this when |
207 // FLAGS_enable_quic_stream_flow_control_2 is removed. | 207 // FLAGS_enable_quic_stream_flow_control_2 is removed. |
208 QuicVersionVector supported_versions_no_flow_control_; | 208 QuicVersionVector supported_versions_no_flow_control_; |
209 // Versions which do not support *connection* flow control (introduced in | 209 // Versions which do not support *connection* flow control (introduced in |
210 // QUIC_VERSION_19). | 210 // QUIC_VERSION_19). |
211 // This is used to construct new QuicConnections when connection flow control | 211 // This is used to construct new QuicConnections when connection flow control |
212 // is disabled via flag. | 212 // is disabled via flag. |
213 // TODO(rjshade): Remove this when | 213 // TODO(rjshade): Remove this when |
214 // FLAGS_enable_quic_connection_flow_control is removed. | 214 // FLAGS_enable_quic_connection_flow_control_2 is removed. |
215 QuicVersionVector supported_versions_no_connection_flow_control_; | 215 QuicVersionVector supported_versions_no_connection_flow_control_; |
216 | 216 |
217 // Information about the packet currently being handled. | 217 // Information about the packet currently being handled. |
218 IPEndPoint current_client_address_; | 218 IPEndPoint current_client_address_; |
219 IPEndPoint current_server_address_; | 219 IPEndPoint current_server_address_; |
220 const QuicEncryptedPacket* current_packet_; | 220 const QuicEncryptedPacket* current_packet_; |
221 | 221 |
222 QuicFramer framer_; | 222 QuicFramer framer_; |
223 scoped_ptr<QuicFramerVisitor> framer_visitor_; | 223 scoped_ptr<QuicFramerVisitor> framer_visitor_; |
224 | 224 |
225 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); | 225 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); |
226 }; | 226 }; |
227 | 227 |
228 } // namespace net | 228 } // namespace net |
229 | 229 |
230 #endif // NET_QUIC_QUIC_DISPATCHER_H_ | 230 #endif // NET_QUIC_QUIC_DISPATCHER_H_ |
OLD | NEW |