QUICHE team | 53f08a3 | 2019-04-15 14:47:31 -0400 | [diff] [blame] | 1 | // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_THREAD_H_ |
| 6 | #define QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_THREAD_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
bnc | 5231ee2 | 2019-04-15 19:02:13 -0700 | [diff] [blame] | 10 | #include "net/tools/epoll_server/platform/impl/epoll_thread_impl.h" |
QUICHE team | 53f08a3 | 2019-04-15 14:47:31 -0400 | [diff] [blame] | 11 | |
| 12 | namespace epoll_server { |
| 13 | |
| 14 | // A class representing a thread of execution in QUIC. |
| 15 | class EpollThread : public EpollThreadImpl { |
| 16 | public: |
| 17 | EpollThread(const std::string& string) : EpollThreadImpl(string) {} |
| 18 | EpollThread(const EpollThread&) = delete; |
| 19 | EpollThread& operator=(const EpollThread&) = delete; |
| 20 | |
| 21 | // Impl defines a virtual void Run() method which subclasses |
| 22 | // must implement. |
| 23 | }; |
| 24 | |
| 25 | } // namespace epoll_server |
| 26 | |
| 27 | #endif // QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_THREAD_H_ |