A non-typed base class for any gRPC call.
More...
#include <userver/ugrpc/server/rpc.hpp>
A non-typed base class for any gRPC call.
Definition at line 33 of file rpc.hpp.
◆ CallAnyBase()
ugrpc::server::CallAnyBase::CallAnyBase |
( |
impl::CallParams && |
params | ) |
|
|
inline |
◆ AccessTskvLogger()
logging::LoggerRef ugrpc::server::CallAnyBase::AccessTskvLogger |
( |
| ) |
|
|
inlineprotected |
◆ FinishWithError()
virtual void ugrpc::server::CallAnyBase::FinishWithError |
( |
const grpc::Status & |
status | ) |
|
|
pure virtual |
◆ GetCallName()
std::string_view ugrpc::server::CallAnyBase::GetCallName |
( |
| ) |
const |
|
inline |
Name of the call. Consists of service and method names.
Definition at line 51 of file rpc.hpp.
◆ GetContext()
grpc::ServerContext & ugrpc::server::CallAnyBase::GetContext |
( |
| ) |
|
|
inline |
- Returns
- the
ServerContext
used for this RPC
- Note
- Initial server metadata is not currently supported
-
Trailing metadata, if any, must be set before the
Finish
call
Definition at line 48 of file rpc.hpp.
◆ GetSpan()
◆ Statistics()
ugrpc::impl::RpcStatisticsScope & ugrpc::server::CallAnyBase::Statistics |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: