#include "common/network/udp_default_writer_config.h" #include #include #include "envoy/config/listener/v3/udp_default_writer_config.pb.h" #include "common/network/udp_packet_writer_handler_impl.h" namespace Envoy { namespace Network { UdpPacketWriterPtr UdpDefaultWriterFactory::createUdpPacketWriter(Network::IoHandle& io_handle, Stats::Scope& /*scope*/) { return std::make_unique(io_handle); } ProtobufTypes::MessagePtr UdpDefaultWriterConfigFactory::createEmptyConfigProto() { return std::make_unique(); } UdpPacketWriterFactoryPtr UdpDefaultWriterConfigFactory::createUdpPacketWriterFactory(const Protobuf::Message& /*message*/) { return std::make_unique(); } std::string UdpDefaultWriterConfigFactory::name() const { return "udp_default_writer"; } REGISTER_FACTORY(UdpDefaultWriterConfigFactory, Network::UdpPacketWriterConfigFactory); } // namespace Network } // namespace Envoy