blob: 97c0b08d394f803e561e6f52fe6f283fca023f01 [file] [log] [blame]
QUICHE team53f08a32019-04-15 14:47:31 -04001// 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
bnc5231ee22019-04-15 19:02:13 -070010#include "net/tools/epoll_server/platform/impl/epoll_thread_impl.h"
QUICHE team53f08a32019-04-15 14:47:31 -040011
12namespace epoll_server {
13
14// A class representing a thread of execution in QUIC.
15class 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_