Definition at line 41 of file DaemonCommandHandler.h.
◆ DaemonCommandHandler()
DaemonCommandHandler::DaemonCommandHandler |
( |
const std::string & |
config | ) |
|
|
explicit |
◆ dump()
void DaemonCommandHandler::dump |
( |
std::ostream & |
strm | ) |
const |
|
overridevirtual |
dumps information about this object
Displays the pointer value of this instance
- Parameters
-
strm | C++ 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 |
◆ 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 |
The documentation for this class was generated from the following files: