Commit 4382f8d7 authored by Steven Murray's avatar Steven Murray
Browse files

TapeGatewayDaemon now inherits from MultiThreadedDaemon as opposed to

BaseDaemon.
parent f280dff9
......@@ -64,7 +64,7 @@ int castor::tape::tapegateway::TapeGatewayDaemon::main(int argc, char* argv[]){
// Try to initialize the DLF logging system, quitting with an error message
// to stderr if the initialization fails
try {
castor::server::BaseServer::dlfInit(s_dlfMessages);
dlfInit(s_dlfMessages);
} catch(castor::exception::Exception& ex) {
std::cerr << std::endl <<
"Failed to start daemon"
......@@ -165,7 +165,7 @@ int castor::tape::tapegateway::TapeGatewayDaemon::exceptionThrowingMain(int argc
// TapeGatewayDaemon Constructor
//------------------------------------------------------------------------------
castor::tape::tapegateway::TapeGatewayDaemon::TapeGatewayDaemon(
log::Logger &logger): castor::server::BaseDaemon(logger) {
log::Logger &logger): castor::server::MultiThreadedDaemon(logger) {
// get the port
char* tmp=NULL;
......
......@@ -30,7 +30,7 @@
// Include Files
#include "castor/server/BaseDaemon.hpp"
#include "castor/server/MultiThreadedDaemon.hpp"
namespace castor {
......@@ -40,7 +40,7 @@ namespace castor {
/**
* TapeGateway daemon.
*/
class TapeGatewayDaemon : public castor::server::BaseDaemon{
class TapeGatewayDaemon : public castor::server::MultiThreadedDaemon{
/**
* port to accept connections (environment)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment