bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
maintains the list of registered request handlers for this server More...
#include <BESContextManager.h>
Public Member Functions | |
virtual void | dump (std::ostream &strm) const |
dumps information about this object | |
virtual std::string | get_context (const std::string &name, bool &found) |
retrieve the value of the specified context from the BES | |
virtual int | get_context_int (const std::string &name, bool &found) |
Get the value of the given context and return it as an integer. | |
virtual uint64_t | get_context_uint64 (const std::string &name, bool &found) |
virtual void | list_context (BESInfo &info) |
Adds all context and their values to the given informational object. | |
virtual void | set_context (const std::string &name, const std::string &value) |
set context in the BES | |
virtual void | unset_context (const std::string &name) |
set context in the BES | |
Static Public Member Functions | |
static BESContextManager * | TheManager () |
maintains the list of registered request handlers for this server
For a type of data to be handled by the BES the data type must registered a request handler with the server. This request handler knows how to fill in specific response objects, such as DAS, DDS, help, version, etc... The request handlers are registered with this request handler list.
Definition at line 51 of file BESContextManager.h.
BESContextManager::BESContextManager | ( | ) |
Definition at line 54 of file BESContextManager.cc.
|
virtual |
Definition at line 56 of file BESContextManager.cc.
|
virtual |
dumps information about this object
Displays the pointer value of this instance along with information about each of the context values
strm | C++ i/o stream to dump the information to |
Implements BESObj.
Definition at line 191 of file BESContextManager.cc.
retrieve the value of the specified context from the BES
Finds the specified context and returns its value
name | name of the context to retrieve |
found | the value of this parameter is set to indicate whether the context was found or not. An empty string could be a valid value |
Definition at line 93 of file BESContextManager.cc.
Get the value of the given context and return it as an integer.
name | The context name |
found | True if the context was found, false otherwise. |
Definition at line 121 of file BESContextManager.cc.
|
virtual |
Definition at line 141 of file BESContextManager.cc.
|
virtual |
Adds all context and their values to the given informational object.
Definition at line 166 of file BESContextManager.cc.
|
virtual |
set context in the BES
name | name of the context |
value | value the context is to take |
Definition at line 63 of file BESContextManager.cc.
|
static |
Definition at line 214 of file BESContextManager.cc.
|
virtual |
set context in the BES
name | name of the context |
value | value the context is to take |
Definition at line 76 of file BESContextManager.cc.