LCOV - code coverage report
Current view: top level - vnsw/agent/services - metadata_client_session.h (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 0 4 0.0 %
Date: 2026-08-03 02:19:58 Functions: 0 4 0.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_session_h_
       6             : #define vnsw_agent_metadata_client_session_h_
       7             : 
       8             : #include "http/client/http_client.h"
       9             : #include "http/http_session.h"
      10             : #include "services/metadata_client.h"
      11             : 
      12             : class MetadataClientSession : public HttpClientSession {
      13             : public:
      14             :     static const int kMetadataSessionInstance = 0;
      15             : 
      16           0 :     MetadataClientSession(HttpClient *client, Socket *socket)
      17           0 :         : HttpClientSession(client, socket) {}
      18           0 :     virtual ~MetadataClientSession() {}
      19             : 
      20             :     // return a session instance of 0 to ensure that only one
      21             :     // session request is processed at any time
      22           0 :     virtual int GetSessionInstance() const { return kMetadataSessionInstance; }
      23             : 
      24             : private:
      25             :     DISALLOW_COPY_AND_ASSIGN(MetadataClientSession);
      26             : };
      27             : 
      28             : #endif // vnsw_agent_metadata_client_session_h_

Generated by: LCOV version 1.14