From d1d5ab1436699ce75002447d79048bb04fca933e Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 22 Jun 2012 11:44:41 +0200 Subject: [PATCH] added stub method because otherwise beginShutdown() would be pure virtual --- lib/ZeroMQ/ZeroMQBatchJob.cpp | 9 +++++++++ lib/ZeroMQ/ZeroMQBatchJob.h | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/lib/ZeroMQ/ZeroMQBatchJob.cpp b/lib/ZeroMQ/ZeroMQBatchJob.cpp index 68209e8673..bf9c127442 100644 --- a/lib/ZeroMQ/ZeroMQBatchJob.cpp +++ b/lib/ZeroMQ/ZeroMQBatchJob.cpp @@ -242,6 +242,15 @@ void ZeroMQBatchJob::handleError (TriagensError const& ex) { _handler->handleError(ex); } +//////////////////////////////////////////////////////////////////////////////// +/// {@inheritDoc} +//////////////////////////////////////////////////////////////////////////////// + +bool ZeroMQBatchJob::beginShutdown () { + // TODO FIXME: check what this method should do + return false; +} + //////////////////////////////////////////////////////////////////////////////// /// @brief extracts the current request //////////////////////////////////////////////////////////////////////////////// diff --git a/lib/ZeroMQ/ZeroMQBatchJob.h b/lib/ZeroMQ/ZeroMQBatchJob.h index c43fbc68bb..8fa22b1b51 100644 --- a/lib/ZeroMQ/ZeroMQBatchJob.h +++ b/lib/ZeroMQ/ZeroMQBatchJob.h @@ -176,6 +176,12 @@ namespace triagens { //////////////////////////////////////////////////////////////////////////////// void handleError (basics::TriagensError const&); + + //////////////////////////////////////////////////////////////////////////////// + /// @brief shuts down the execution and deletes everything + //////////////////////////////////////////////////////////////////////////////// + + bool beginShutdown (); //////////////////////////////////////////////////////////////////////////////// /// @brief extracts the next request and its handler