| 436 | class BESSControlImpl final : public BESSControl::Service { |
| 437 | public: |
| 438 | void set_shutdown_func(const std::function<void()>& func) { |
| 439 | shutdown_func_ = func; |
| 440 | } |
| 441 | |
| 442 | Status GetVersion(ServerContext*, const EmptyRequest*, |
| 443 | VersionResponse* response) override { |