bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
DaemonCommandHandler Class Reference
Inheritance diagram for DaemonCommandHandler:
Inheritance graph
Collaboration diagram for DaemonCommandHandler:
Collaboration graph

Public Member Functions

 DaemonCommandHandler (const std::string &config)
 
void dump (std::ostream &strm) const override
 dumps information about this object
 
std::string get_config_file () const
 
void handle (Connection *c) override
 
void set_config_file (const std::string &config)
 

Detailed Description

Definition at line 41 of file DaemonCommandHandler.h.

Constructor & Destructor Documentation

◆ DaemonCommandHandler()

DaemonCommandHandler::DaemonCommandHandler ( const std::string & config)
explicit

Definition at line 128 of file DaemonCommandHandler.cc.

Member Function Documentation

◆ dump()

void DaemonCommandHandler::dump ( std::ostream & strm) const
overridevirtual

dumps information about this object

Displays the pointer value of this instance

Parameters
strmC++ i/o stream to dump the information to

Implements ServerHandler.

Definition at line 833 of file DaemonCommandHandler.cc.

◆ get_config_file()

std::string DaemonCommandHandler::get_config_file ( ) const
inline

Definition at line 79 of file DaemonCommandHandler.h.

◆ handle()

void DaemonCommandHandler::handle ( Connection * c)
overridevirtual

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 741 of file DaemonCommandHandler.cc.

◆ set_config_file()

void DaemonCommandHandler::set_config_file ( const std::string & config)
inline

Definition at line 80 of file DaemonCommandHandler.h.


The documentation for this class was generated from the following files: