bes
Updated for version 3.20.6
HttpdCatalogContainerStorage.h
1
2
// -*- mode: c++; c-basic-offset:4 -*-
3
//
4
// This file is part of httpd_catalog_module, A C++ module that can be loaded in to
5
// the OPeNDAP Back-End Server (BES) and is able to handle remote requests.
6
//
7
// Copyright (c) 2018 OPeNDAP, Inc.
8
// Author: Nathan Potter <ndp@opendap.org>
9
//
10
// This library is free software; you can redistribute it and/or
11
// modify it under the terms of the GNU Lesser General Public
12
// License as published by the Free Software Foundation; either
13
// version 2.1 of the License, or (at your option) any later version.
14
//
15
// This library is distributed in the hope that it will be useful,
16
// but WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
// Lesser General Public License for more details.
19
//
20
// You should have received a copy of the GNU Lesser General Public
21
// License along with this library; if not, write to the Free Software
22
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
//
24
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
25
//
26
// Authors:
27
// ndp Nathan Potter <ndp@opendap.org>
28
29
#ifndef I_HttpdCatalogContainerStorage_H_
30
#define I_HttpdCatalogContainerStorage_H_ 1
31
32
#include "BESContainerStorageVolatile.h"
33
34
class
BESCatalogUtils
;
35
36
namespace
httpd_catalog {
37
48
class
HttpdCatalogContainerStorage
:
public
BESContainerStorageVolatile
{
49
public
:
50
HttpdCatalogContainerStorage
(
const
std::string &n);
51
virtual
~
HttpdCatalogContainerStorage
();
52
53
virtual
void
add_container
(
const
std::string &s_name,
const
std::string &r_name,
const
std::string &type);
54
55
virtual
void
dump
(std::ostream &strm)
const
;
56
};
57
58
}
// namespace httpd_catalog
59
60
#endif // I_HttpdCatalogContainerStorage_H_
httpd_catalog::HttpdCatalogContainerStorage
implementation of BESContainerStorageVolatile that represents a list of remote requests
Definition:
HttpdCatalogContainerStorage.h:48
httpd_catalog::HttpdCatalogContainerStorage::add_container
virtual void add_container(const std::string &s_name, const std::string &r_name, const std::string &type)
adds a container with the provided information
Definition:
HttpdCatalogContainerStorage.cc:62
BESCatalogUtils
Definition:
BESCatalogUtils.h:61
BESContainerStorageVolatile
implementation of BESContainerStorage that stores containers in memory for the duration of this proce...
Definition:
BESContainerStorageVolatile.h:57
httpd_catalog::HttpdCatalogContainerStorage::dump
virtual void dump(std::ostream &strm) const
dumps information about this object
Definition:
HttpdCatalogContainerStorage.cc:75
httpd_catalog::HttpdCatalogContainerStorage::HttpdCatalogContainerStorage
HttpdCatalogContainerStorage(const std::string &n)
create an instance of this persistent store with the given name.
Definition:
HttpdCatalogContainerStorage.cc:46
modules
httpd_catalog_module
HttpdCatalogContainerStorage.h
Generated by
1.8.17