LCOV - code coverage report
Current view: top level - source/server/config_validation - dispatcher.h (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 1 1 100.0 %
Date: 2024-01-05 06:35:25 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "envoy/event/dispatcher.h"
       4             : 
       5             : #include "source/common/event/dispatcher_impl.h"
       6             : 
       7             : #include "dns.h"
       8             : 
       9             : namespace Envoy {
      10             : namespace Event {
      11             : 
      12             : /**
      13             :  * Config-validation-only implementation of Event::Dispatcher. This class delegates all calls to
      14             :  * Event::DispatcherImpl, except for the methods involved with network events. Those methods are
      15             :  * disallowed at validation time.
      16             :  */
      17             : class ValidationDispatcher : public DispatcherImpl {
      18             : public:
      19             :   ValidationDispatcher(const std::string& name, Api::Api& api, Event::TimeSystem& time_system)
      20         320 :       : DispatcherImpl(name, api, time_system) {}
      21             : 
      22             :   Network::ClientConnectionPtr createClientConnection(
      23             :       Network::Address::InstanceConstSharedPtr, Network::Address::InstanceConstSharedPtr,
      24             :       Network::TransportSocketPtr&&, const Network::ConnectionSocket::OptionsSharedPtr& options,
      25             :       const Network::TransportSocketOptionsConstSharedPtr& transport_options) override;
      26             : };
      27             : 
      28             : } // namespace Event
      29             : } // namespace Envoy

Generated by: LCOV version 1.15