ServerRpcInfo represents the state of a particular RPC as it appears to an interceptor.
More...
#include <server_interceptor.h>
ServerRpcInfo represents the state of a particular RPC as it appears to an interceptor.
It is created and owned by the library and passed to the CreateServerInterceptor method of the application's ServerInterceptorFactoryInterface implementation
◆ Type
Type categorizes RPCs by unary or streaming type.
Enumerator |
---|
UNARY | |
CLIENT_STREAMING | |
SERVER_STREAMING | |
BIDI_STREAMING | |
◆ ~ServerRpcInfo()
grpc::experimental::ServerRpcInfo::~ServerRpcInfo |
( |
| ) |
|
|
inline |
◆ ServerRpcInfo() [1/2]
grpc::experimental::ServerRpcInfo::ServerRpcInfo |
( |
const ServerRpcInfo & |
| ) |
|
|
delete |
◆ ServerRpcInfo() [2/2]
grpc::experimental::ServerRpcInfo::ServerRpcInfo |
( |
ServerRpcInfo && |
| ) |
|
|
delete |
◆ method()
const char* grpc::experimental::ServerRpcInfo::method |
( |
| ) |
const |
|
inline |
Return the fully-specified method name.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ server_context()
Return a pointer to the underlying ServerContext structure associated with the RPC to support features that apply to it.
◆ type()
Type grpc::experimental::ServerRpcInfo::type |
( |
| ) |
const |
|
inline |
Return the type of the RPC (unary or a streaming flavor)
◆ grpc_impl::ServerContextBase
◆ internal::InterceptorBatchMethodsImpl
The documentation for this class was generated from the following file: