80 if (container_name !=
"") {
87 string err_str = (string)
"Unable to delete container. " +
"The container \"" + dhi.
data[
CONTAINER_NAME]
88 +
"\" does not exist in container storage \"" + dhi.
data[
STORE_NAME] +
"\"";
93 string err_str = (string)
"Container storage \"" + dhi.
data[
STORE_NAME] +
"\" does not exist. "
99 string err_str = (string)
"No container is specified. " +
"Unable to complete request.";
134 strm <<
BESIndent::LMarg <<
"BESDelContainerResponseHandler::dump - (" << (
void *)
this <<
")" << endl;
#define DELETE_CONTAINER_STR
silent informational response object
provides persistent storage for data storage information represented by a container.
exception thrown if inernal error encountered
virtual BESContainerStorage * find_persistence(const string &persist_name)
find the persistence store with the given name
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the informational object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object ...
error thrown if there is a user syntax error in the request or any other user error ...
BESResponseObject * _response
#define PERSISTENCE_VOLATILE
handler object that knows how to create a specific response object
informational response object
BESDelContainerResponseHandler(const string &name)
static ostream & LMarg(ostream &strm)
virtual void dump(ostream &strm) const
dumps information about this object
static BESResponseHandler * DelContainerResponseBuilder(const string &name)
virtual void execute(BESDataHandlerInterface &dhi)
executes the command to delete a container
Structure storing information used by the BES to handle the request.
static BESContainerStorageList * TheList()
map< string, string > data
the map of string data that will be required for the current request.
virtual void dump(ostream &strm) const
dumps information about this object
virtual bool del_container(const string &s_name)=0
removes a container with the given symbolic name
virtual ~BESDelContainerResponseHandler(void)