LCOV - code coverage report
Current view: top level - vnsw/agent/services - metadata_server_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_server_session_h_
       6             : #define vnsw_agent_metadata_server_session_h_
       7             : 
       8             : #include "http/http_session.h"
       9             : #include "services/metadata_server.h"
      10             : 
      11             : class MetadataServerSession : public HttpSession {
      12             : public:
      13             :     static const int kMetadataSessionInstance = 0;
      14             : 
      15           0 :     MetadataServerSession(HttpServer *server, SslSocket *socket)
      16           0 :         : HttpSession(server, socket) {}
      17           0 :     virtual ~MetadataServerSession() {}
      18             : 
      19             :     // return a session instance of 1 to ensure that only one
      20             :     // session request is processed at any time
      21           0 :     virtual int GetSessionInstance() const { return kMetadataSessionInstance; }
      22             : 
      23             : private:
      24             :     DISALLOW_COPY_AND_ASSIGN(MetadataServerSession);
      25             : };
      26             : 
      27             : #endif // vnsw_agent_metadata_server_session_h_

Generated by: LCOV version 1.14