OPeNDAP Hyrax Back End Server (BES) Updated for version 3.8.3
|
#include <BESServerHandler.h>
Public Member Functions | |
BESServerHandler () | |
virtual void | dump (ostream &strm) const =0 |
dump the contents of this object to the specified ostream | |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
virtual void | handle (Connection *c) |
virtual | ~BESServerHandler () |
Definition at line 44 of file BESServerHandler.h.
BESServerHandler::BESServerHandler | ( | ) |
Definition at line 64 of file BESServerHandler.cc.
References BESError::get_message(), BESKeys::get_value(), SERVER_EXIT_FATAL_CAN_NOT_START, and TheBESKeys::TheKeys().
virtual BESServerHandler::~BESServerHandler | ( | ) | [inline, virtual] |
Definition at line 51 of file BESServerHandler.h.
void BESServerHandler::dump | ( | ostream & | strm | ) | const [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 278 of file BESServerHandler.cc.
References BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
virtual void BESObj::dump | ( | ostream & | strm | ) | const [pure virtual, inherited] |
dump the contents of this object to the specified ostream
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...
The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from BESObj. A user could do the following:
Animal *a = new dog( "Sparky" ) ; cout << a << endl ;
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...
strm | C++ i/o stream to dump the object to |
Implemented in CmdClient, BESAbstractModule, BESAggFactory, BESAggregationServer, BESApp, BESBaseApp, BESBasicHttpTransmitter, BESBasicInterface, BESBasicTransmitter, BESCache, BESCatalog, BESCatalogDirectory, BESCatalogList, BESCatalogResponseHandler, BESCatalogUtils, BESConfigResponseHandler, BESContainer, BESContainerStorage, BESContainerStorageCatalog, BESContainerStorageFile, BESContainerStorageList, BESContainerStorageVolatile, BESContextManager, BESDapError, BESDapErrorInfo, BESDapModule, BESDapRequestHandler, BESDapResponse, BESDASResponse, BESDASResponseHandler, BESDataDDSResponse, BESDataDDXResponseHandler, BESDataHandlerInterface, BESDataResponseHandler, BESDDSResponse, BESDDSResponseHandler, BESDDXResponseHandler, BESDefine, BESDefineResponseHandler, BESDefinitionStorage, BESDefinitionStorageList, BESDefinitionStorageVolatile, BESDelContainerResponseHandler, BESDelContainersResponseHandler, BESDelDefResponseHandler, BESDelDefsResponseHandler, BESError, BESExceptionManager, BESFileContainer, BESForbiddenError, BESGlobalInit, BESHelpResponseHandler, BESHTMLInfo, BESInfo, BESInfoList, BESInitializer, BESInterface, BESInternalError, BESInternalFatalError, BESKeys, BESLog, BESMemoryGlobalArea, BESModuleApp, BESNotFoundError, BESPlugin< M >, BESPluginFactory< C >, BESProcessEncodedString, BESProcIdResponseHandler, BESReporter, BESReporterList, BESRequestHandler, BESRequestHandlerList, BESResponseHandler, BESResponseHandlerList, BESResponseObject, BESReturnManager, BESServiceRegistry, BESServicesResponseHandler, BESSetContainerResponseHandler, BESSetContextResponseHandler, BESShowContainersResponseHandler, BESShowContextResponseHandler, BESShowDefsResponseHandler, BESShowErrorResponseHandler, BESSilentInfo, BESStatusResponseHandler, BESStopWatch, BESStreamResponseHandler, BESSyntaxUserError, BESTextInfo, BESTokenizer, BESTransmitter, BESUncompressManager, BESVersionInfo, BESVersionResponseHandler, BESXMLInfo, Connection, PPTClient, PPTConnection, PPTServer, SSLClient, SSLConnection, SSLServer, and StandAloneClient.
Referenced by operator<<().
void BESServerHandler::handle | ( | Connection * | c | ) | [virtual] |
Implements ServerHandler.
Definition at line 93 of file BESServerHandler.cc.
References Connection::closeConnection(), SERVER_EXIT_CHILD_SUBPROCESS_ABNORMAL_TERMINATION, and SERVER_EXIT_CHILD_SUBPROCESS_NORMAL_TERMINATION.