2 * Autogenerated by Thrift
4 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
9 #if __has_include(<gen-cpp2/HsTestService.h>)
10 #include <gen-cpp2/HsTestService.h>
12 #include <gen-cpp2/hsmodule_handlers.h>
14 #include <folly/python/futures.h>
21 class HsTestServiceWrapper
: virtual public HsTestServiceSvIf
{
24 folly::Executor
*executor
;
26 explicit HsTestServiceWrapper(PyObject
*if_object
, folly::Executor
*exc
);
27 void async_tm_init(std::unique_ptr
<apache::thrift::HandlerCallback
<int64_t>> callback
30 folly::SemiFuture
<folly::Unit
> semifuture_onStartServing() override
;
31 folly::SemiFuture
<folly::Unit
> semifuture_onStopRequested() override
;
34 std::shared_ptr
<apache::thrift::ServerInterface
> HsTestServiceInterface(PyObject
*if_object
, folly::Executor
*exc
);