blob: a083643ec3e24b0c4280c790a2f773dbe5404f47 [file] [log] [blame] [edit]
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef QUICHE_QUIC_TOOLS_EPOLL_CLIENT_FACTORY_H_
#define QUICHE_QUIC_TOOLS_EPOLL_CLIENT_FACTORY_H_
#include "net/third_party/quiche/src/quic/platform/api/quic_epoll.h"
#include "net/third_party/quiche/src/quic/tools/quic_toy_client.h"
namespace quic {
// Factory creating QuicClient instances.
class QuicEpollClientFactory : public QuicToyClient::ClientFactory {
public:
std::unique_ptr<QuicSpdyClientBase> CreateClient(
std::string host,
uint16_t port,
ParsedQuicVersionVector versions,
std::unique_ptr<ProofVerifier> verifier) override;
private:
QuicEpollServer epoll_server_;
};
} // namespace quic
#endif // QUICHE_QUIC_TOOLS_EPOLL_CLIENT_FACTORY_H_