class ServerRpcInfo

Defined at line 59 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/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

Public Methods

void ~ServerRpcInfo ()

Defined at line 64 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

void ServerRpcInfo (const ServerRpcInfo & )

Delete all copy and move constructors and assignments

Defined at line 67 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

ServerRpcInfo & operator= (const ServerRpcInfo & )

Defined at line 68 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

void ServerRpcInfo (ServerRpcInfo && )

Defined at line 69 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

ServerRpcInfo & operator= (ServerRpcInfo && )

Defined at line 70 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

const char * method ()

Return the fully-specified method name

Defined at line 75 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

Type type ()

Return the type of the RPC (unary or a streaming flavor)

Defined at line 78 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

ServerContextBase * server_context ()

Return a pointer to the underlying ServerContext structure associated

with the RPC to support features that apply to it

Defined at line 82 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

Enumerations

enum Type
Name Value
UNARY 0
CLIENT_STREAMING 1
SERVER_STREAMING 2
BIDI_STREAMING 3

Type categorizes RPCs by unary or streaming type

Defined at line 62 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/server_interceptor.h

Friends

class ServerContextBase
class InterceptorBatchMethodsImpl