mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
rgw: add skeleton for boost::asio frontend
Signed-off-by: Casey Bodley <cbodley@redhat.com> Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
This commit is contained in:
parent
273e5407a4
commit
c5543a4951
@ -103,6 +103,7 @@ target_link_libraries(rgw_a librados cls_lock_client cls_rgw_client cls_refcount
|
||||
${OPENLDAP_LIBRARIES} ${CRYPTO_LIBS})
|
||||
|
||||
set(radosgw_srcs
|
||||
rgw_asio_frontend.cc
|
||||
rgw_fcgi_process.cc
|
||||
rgw_loadgen_process.cc
|
||||
rgw_civetweb.cc
|
||||
|
38
src/rgw/rgw_asio_frontend.cc
Normal file
38
src/rgw/rgw_asio_frontend.cc
Normal file
@ -0,0 +1,38 @@
|
||||
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
|
||||
// vim: ts=8 sw=2 smarttab
|
||||
|
||||
#include "rgw_asio_frontend.h"
|
||||
|
||||
RGWAsioFrontend::RGWAsioFrontend(const RGWProcessEnv& env)
|
||||
{
|
||||
}
|
||||
|
||||
RGWAsioFrontend::~RGWAsioFrontend()
|
||||
{
|
||||
}
|
||||
|
||||
int RGWAsioFrontend::init()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RGWAsioFrontend::run()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void RGWAsioFrontend::stop()
|
||||
{
|
||||
}
|
||||
|
||||
void RGWAsioFrontend::join()
|
||||
{
|
||||
}
|
||||
|
||||
void RGWAsioFrontend::pause_for_new_config()
|
||||
{
|
||||
}
|
||||
|
||||
void RGWAsioFrontend::unpause_with_new_config(RGWRados *store)
|
||||
{
|
||||
}
|
23
src/rgw/rgw_asio_frontend.h
Normal file
23
src/rgw/rgw_asio_frontend.h
Normal file
@ -0,0 +1,23 @@
|
||||
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
|
||||
// vim: ts=8 sw=2 smarttab
|
||||
|
||||
#ifndef RGW_ASIO_FRONTEND_H
|
||||
#define RGW_ASIO_FRONTEND_H
|
||||
|
||||
#include "rgw_frontend.h"
|
||||
|
||||
class RGWAsioFrontend : public RGWFrontend {
|
||||
public:
|
||||
RGWAsioFrontend(const RGWProcessEnv& env);
|
||||
~RGWAsioFrontend();
|
||||
|
||||
int init() override;
|
||||
int run() override;
|
||||
void stop() override;
|
||||
void join() override;
|
||||
|
||||
void pause_for_new_config() override;
|
||||
void unpause_with_new_config(RGWRados *store) override;
|
||||
};
|
||||
|
||||
#endif // RGW_ASIO_FRONTEND_H
|
Loading…
Reference in New Issue
Block a user