45 #define DEFAULT_ADMINISTRATOR "support@opendap.org"
78 string administrator =
"" ;
83 string key =
"BES.ServerAdministrator" ;
90 if( administrator.empty() )
94 info->
add_tag(
"Administrator", administrator ) ;
124 info->
transmit( transmitter, dhi ) ;
138 << (
void *)
this <<
")" << endl ;
brief represents simple text information in a response object, such as version and help inforamtion...
BESVersionResponseHandler(const string &name)
exception thrown if inernal error encountered
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show version;' by returning the version of the BES and the version of all regis...
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the informational object
virtual void add_tag(const string &tag_name, const string &tag_data, map< string, string > *attrs=0)
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void end_response()
#define VERS_RESPONSE_STR
static BESResponseHandler * VersionResponseBuilder(const string &name)
virtual void add_library(const string &n, const string &v)
virtual ~BESVersionResponseHandler(void)
BESResponseObject * _response
handler object that knows how to create a specific response object
static ostream & LMarg(ostream &strm)
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object ...
virtual void execute_all(BESDataHandlerInterface &dhi)
for all of the registered request handlers, execute the given request
virtual void dump(ostream &strm) const
dumps information about this object
void get_value(const string &s, string &val, bool &found)
Retrieve the value of a given key, if set.
static BESRequestHandlerList * TheList()
Structure storing information used by the BES to handle the request.
virtual void dump(ostream &strm) const
dumps information about this object
static BESKeys * TheKeys()
#define DEFAULT_ADMINISTRATOR