X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Frgw%2Frgw_asio_frontend.h;fp=src%2Fceph%2Fsrc%2Frgw%2Frgw_asio_frontend.h;h=4c32cada640cbccd95c71e19ad05a801bab3440b;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/rgw/rgw_asio_frontend.h b/src/ceph/src/rgw/rgw_asio_frontend.h new file mode 100644 index 0000000..4c32cad --- /dev/null +++ b/src/ceph/src/rgw/rgw_asio_frontend.h @@ -0,0 +1,27 @@ +// -*- 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 +#include "rgw_frontend.h" + +class RGWAsioFrontend : public RGWFrontend { + class Impl; + std::unique_ptr impl; +public: + RGWAsioFrontend(const RGWProcessEnv& env); + ~RGWAsioFrontend() override; + + 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, + rgw_auth_registry_ptr_t auth_registry) override; +}; + +#endif // RGW_ASIO_FRONTEND_H