LCOV - code coverage report
Current view: top level - vnsw/agent/services - metadata_client.h (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 2 5 40.0 %
Date: 2026-06-11 01:56:02 Functions: 3 4 75.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
       3             :  */
       4             : 
       5             : #ifndef vnsw_agent_metadata_client_h_
       6             : #define vnsw_agent_metadata_client_h_
       7             : 
       8             : #include "http/client/http_client.h"
       9             : #include "services/metadata_client_session.h"
      10             : 
      11             : class MetadataClient : public HttpClient {
      12             : public:
      13           1 :     MetadataClient(EventManager *evm) : HttpClient(evm) {}
      14           2 :     virtual ~MetadataClient() {}
      15             : 
      16           0 :     virtual TcpSession *AllocSession(Socket *socket) {
      17             :         MetadataClientSession *session =
      18           0 :             new MetadataClientSession(this, socket);
      19           0 :         return session;
      20             :     }
      21             : 
      22             : private:
      23             :     DISALLOW_COPY_AND_ASSIGN(MetadataClient);
      24             : };
      25             : 
      26             : #endif // vnsw_agent_metadata_client_h_

Generated by: LCOV version 1.14