22class CallContextBase {
26 CallContextBase(
utils::impl::InternalTag, impl::CallState& state);
29 CallContextBase(CallContextBase&&) =
delete;
30 CallContextBase& operator=(CallContextBase&&) =
delete;
33 grpc::ServerContext& GetServerContext();
36 std::string_view GetCallName()
const;
39 std::string_view GetServiceName()
const;
42 std::string_view GetMethodName()
const;
74 const impl::CallState& GetCallState(
utils::impl::InternalTag)
const {
return state_; }
77 impl::CallState& GetCallState(
utils::impl::InternalTag) {
return state_; }
80 ~CallContextBase() =
default;
84 impl::CallState& state_;