/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ #pragma once #include #include #include namespace quic { class QuicServerTransportFactory { public: virtual ~QuicServerTransportFactory() {} virtual QuicServerTransport::Ptr make( folly::EventBase* evb, std::unique_ptr socket, const folly::SocketAddress& addr, std::shared_ptr ctx) noexcept = 0; }; } // namespace quic