ldas-tools-diskcacheAPI 2.7.7
Public Member Functions | List of all members
diskCache::MetaCommand::Daemon Class Reference

Daemon mode. More...

#include <MetaCommands.hh>

Inherits LDASTools::AL::Thread, LDASTools::AL::SignalHandler::Callback, LDASTools::AL::Thread, LDASTools::AL::SignalHandler::Callback, LDASTools::AL::Thread, and LDASTools::AL::SignalHandler::Callback.

Public Member Functions

 Daemon (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server, const std::string &DefaultConfigurationFilename=std::string(""), const bool Seedable=true)
 Constructor. More...
 
 ~Daemon ()
 Destructor. More...
 
void ResetOnSignal (bool Value)
 Register signal handler.
 
 Daemon (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server, const std::string &DefaultConfigurationFilename=std::string(""), const bool Seedable=true)
 Constructor. More...
 
 ~Daemon ()
 Destructor.
 
void ResetOnSignal (bool Value)
 Register signal handler.
 
 Daemon (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server, const std::string &DefaultConfigurationFilename=std::string(""), const bool Seedable=true)
 Constructor. More...
 
 ~Daemon ()
 Destructor.
 
void ResetOnSignal (bool Value)
 Register signal handler.
 

Detailed Description

Daemon mode.

Constructor & Destructor Documentation

◆ Daemon() [1/3]

diskCache::MetaCommand::Daemon::Daemon ( CommandLineOptions &  Args,
const ClientServerInterface::ServerInfo &  Server,
const std::string &  DefaultConfigurationFilename = std::string( "" ),
const bool  Seedable = true 
)

Constructor.

Contruct a new instance of Daemon.

Parameters
[in]ArgsCommand line options to configure command.
[in]ServerInformation describing the server connection.
[in]DefaultConfigurationFilenameSpecify the default configuration filename.

◆ ~Daemon()

diskCache::MetaCommand::Daemon::~Daemon ( )

Destructor.

Return resource back to the system.

◆ Daemon() [2/3]

diskCache::MetaCommand::Daemon::Daemon ( CommandLineOptions &  Args,
const ClientServerInterface::ServerInfo &  Server,
const std::string &  DefaultConfigurationFilename = std::string(""),
const bool  Seedable = true 
)

Constructor.

Parameters
[in]ArgsCommand line options to configure command.
[in]ServerInformation describing the server connection.
[in]DefaultConfigurationFilenameSpecify the default configuration filename.

◆ Daemon() [3/3]

diskCache::MetaCommand::Daemon::Daemon ( CommandLineOptions &  Args,
const ClientServerInterface::ServerInfo &  Server,
const std::string &  DefaultConfigurationFilename = std::string(""),
const bool  Seedable = true 
)

Constructor.

Parameters
[in]ArgsCommand line options to configure command.
[in]ServerInformation describing the server connection.
[in]DefaultConfigurationFilenameSpecify the default configuration filename.

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