| 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 // 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_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
| 9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
| 10 | 10 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 // This is used to construct new QuicConnections when flow control is disabled | 215 // This is used to construct new QuicConnections when flow control is disabled |
| 216 // via flag. | 216 // via flag. |
| 217 // TODO(rjshade): Remove this when | 217 // TODO(rjshade): Remove this when |
| 218 // FLAGS_enable_quic_stream_flow_control_2 is removed. | 218 // FLAGS_enable_quic_stream_flow_control_2 is removed. |
| 219 QuicVersionVector supported_versions_no_flow_control_; | 219 QuicVersionVector supported_versions_no_flow_control_; |
| 220 // Versions which do not support *connection* flow control (introduced in | 220 // Versions which do not support *connection* flow control (introduced in |
| 221 // QUIC_VERSION_19). | 221 // QUIC_VERSION_19). |
| 222 // This is used to construct new QuicConnections when connection flow control | 222 // This is used to construct new QuicConnections when connection flow control |
| 223 // is disabled via flag. | 223 // is disabled via flag. |
| 224 // TODO(rjshade): Remove this when | 224 // TODO(rjshade): Remove this when |
| 225 // FLAGS_enable_quic_connection_flow_control is removed. | 225 // FLAGS_enable_quic_connection_flow_control_2 is removed. |
| 226 QuicVersionVector supported_versions_no_connection_flow_control_; | 226 QuicVersionVector supported_versions_no_connection_flow_control_; |
| 227 | 227 |
| 228 // Information about the packet currently being handled. | 228 // Information about the packet currently being handled. |
| 229 IPEndPoint current_client_address_; | 229 IPEndPoint current_client_address_; |
| 230 IPEndPoint current_server_address_; | 230 IPEndPoint current_server_address_; |
| 231 const QuicEncryptedPacket* current_packet_; | 231 const QuicEncryptedPacket* current_packet_; |
| 232 | 232 |
| 233 QuicFramer framer_; | 233 QuicFramer framer_; |
| 234 scoped_ptr<QuicFramerVisitor> framer_visitor_; | 234 scoped_ptr<QuicFramerVisitor> framer_visitor_; |
| 235 | 235 |
| 236 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); | 236 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); |
| 237 }; | 237 }; |
| 238 | 238 |
| 239 } // namespace tools | 239 } // namespace tools |
| 240 } // namespace net | 240 } // namespace net |
| 241 | 241 |
| 242 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 242 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
| OLD | NEW |