| 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 11 matching lines...) Expand all Loading... |
| 22 #include "net/tools/quic/quic_process_packet_interface.h" | 22 #include "net/tools/quic/quic_process_packet_interface.h" |
| 23 #include "net/tools/quic/quic_server_session_base.h" | 23 #include "net/tools/quic/quic_server_session_base.h" |
| 24 #include "net/tools/quic/quic_time_wait_list_manager.h" | 24 #include "net/tools/quic/quic_time_wait_list_manager.h" |
| 25 | 25 |
| 26 namespace net { | 26 namespace net { |
| 27 | 27 |
| 28 class QuicConfig; | 28 class QuicConfig; |
| 29 class QuicCryptoServerConfig; | 29 class QuicCryptoServerConfig; |
| 30 class QuicServerSessionBase; | 30 class QuicServerSessionBase; |
| 31 | 31 |
| 32 | |
| 33 namespace test { | 32 namespace test { |
| 34 class QuicDispatcherPeer; | 33 class QuicDispatcherPeer; |
| 35 } // namespace test | 34 } // namespace test |
| 36 | 35 |
| 37 class QuicDispatcher : public QuicServerSessionVisitor, | 36 class QuicDispatcher : public QuicServerSessionVisitor, |
| 38 public ProcessPacketInterface, | 37 public ProcessPacketInterface, |
| 39 public QuicBlockedWriterInterface, | 38 public QuicBlockedWriterInterface, |
| 40 public QuicFramerVisitorInterface { | 39 public QuicFramerVisitorInterface { |
| 41 public: | 40 public: |
| 42 // Ideally we'd have a linked_hash_set: the boolean is unused. | 41 // Ideally we'd have a linked_hash_set: the boolean is unused. |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // The last error set by SetLastError(), which is called by | 257 // The last error set by SetLastError(), which is called by |
| 259 // framer_visitor_->OnError(). | 258 // framer_visitor_->OnError(). |
| 260 QuicErrorCode last_error_; | 259 QuicErrorCode last_error_; |
| 261 | 260 |
| 262 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); | 261 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); |
| 263 }; | 262 }; |
| 264 | 263 |
| 265 } // namespace net | 264 } // namespace net |
| 266 | 265 |
| 267 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 266 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
| OLD | NEW |