OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <DaemonCommandHandler.h>
Public Member Functions | |
DaemonCommandHandler (const string &config) | |
virtual void | dump (ostream &strm) const |
dumps information about this object More... | |
string | get_config_file () |
virtual void | handle (Connection *c) |
This particular handle() method is special because it will accept only a single command transmission from the connecting client. More... | |
void | set_config_file (const string &config) |
virtual | ~DaemonCommandHandler () |
Definition at line 43 of file DaemonCommandHandler.h.
DaemonCommandHandler::DaemonCommandHandler | ( | const string & | config | ) |
Definition at line 126 of file DaemonCommandHandler.cc.
References BESDEBUG, BESKeys::get_value(), BESKeys::get_values(), BESDebug::IsSet(), and TheBESKeys::TheKeys().
|
inlinevirtual |
Definition at line 77 of file DaemonCommandHandler.h.
|
virtual |
dumps information about this object
Displays the pointer value of this instance
strm | C++ i/o stream to dump the information to |
Implements ServerHandler.
Definition at line 1041 of file DaemonCommandHandler.cc.
References BESIndent::LMarg().
|
inline |
Definition at line 79 of file DaemonCommandHandler.h.
|
virtual |
This particular handle() method is special because it will accept only a single command transmission from the connecting client.
Once the command transmission has been processed the connection is closed and the method returns. This is done to ensure that the daemon is never tied up in some complex interaction with an admin client.
Implements ServerHandler.
Definition at line 927 of file DaemonCommandHandler.cc.
References BES_INTERNAL_ERROR, BES_INTERNAL_FATAL_ERROR, BES_SYNTAX_USER_ERROR, BESDEBUG, Connection::closeConnection(), Connection::exit(), PPTStreamBuf::finish(), BESXMLWriter::get_doc(), BESError::get_error_type(), BESError::get_message(), Socket::getIp(), Socket::getPort(), Connection::getSendChunkSize(), Connection::getSocket(), Socket::getSocketDescriptor(), Connection::receive(), and Connection::sendExtensions().
|
inline |
Definition at line 80 of file DaemonCommandHandler.h.