so sharded<SocketMessenger> can stop the messenger service with stop()
Signed-off-by: Kefu Chai <kchai@redhat.com>
});
}
+seastar::future<> SocketMessenger::stop()
+{
+ return do_shutdown();
+}
+
seastar::future<> SocketMessenger::shutdown()
{
return container().invoke_on_all([](auto& msgr) {
void unregister_conn(SocketConnectionRef);
// required by sharded<>
- seastar::future<> stop() {
- return seastar::make_ready_future<>();
- }
+ seastar::future<> stop();
seastar::shard_id shard_id() const {
return sid;