GRPC C++  1.24.0
Data Structures | Typedefs | Functions | Variables
grpc::internal Namespace Reference

Models a gRPC server. More...

Data Structures

class  BidiStreamingHandler
 
class  BlockingUnaryCallImpl
 
class  Call
 Straightforward wrapping of the C call object. More...
 
class  CallbackWithStatusTag
 
class  CallbackWithSuccessTag
 CallbackWithSuccessTag can be reused multiple times, and will be used in this fashion for streaming operations. More...
 
class  CallHook
 This is an interface that Channel and Server implement to allow them to hook performing ops. More...
 
class  CallNoOp
 Default argument for CallOpSet. More...
 
class  CallOpClientRecvStatus
 
class  CallOpClientSendClose
 
class  CallOpGenericRecvMessage
 
class  CallOpRecvInitialMetadata
 
class  CallOpRecvMessage
 
class  CallOpSendInitialMetadata
 
class  CallOpSendMessage
 
class  CallOpServerSendStatus
 
class  CallOpSet
 Primary implementation of CallOpSetInterface. More...
 
class  CallOpSetInterface
 An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
 
class  CancelInterceptorBatchMethods
 
class  ClientStreamingHandler
 A wrapper class of an application provided client streaming handler. More...
 
class  CompletionQueueTag
 An interface allowing implementors to process and filter event tags. More...
 
class  CondVar
 
class  DeserializeFunc
 
class  DeserializeFuncType
 
class  ErrorMethodHandler
 General method handler class for errors that prevent real method use e.g., handle unknown method by returning UNIMPLEMENTED error. More...
 
class  GrpcLibrary
 
class  GrpcLibraryInitializer
 Instantiating this class ensures the proper initialization of gRPC. More...
 
class  InterceptedChannel
 An InterceptedChannel is available to client Interceptors. More...
 
class  InterceptorBatchMethodsImpl
 
class  MetadataMap
 
class  MethodHandler
 Base class for running an RPC handler. More...
 
class  Mutex
 
class  MutexLock
 
class  ReleasableMutexLock
 
class  RpcMethod
 Descriptor of an RPC method. More...
 
class  RpcMethodHandler
 A wrapper class of an application provided rpc method handler. More...
 
class  RpcServiceMethod
 Server side rpc method class. More...
 
class  ServerAsyncStreamingInterface
 
class  ServerStreamingHandler
 A wrapper class of an application provided server streaming handler. More...
 
class  SplitServerStreamingHandler
 
class  StreamedUnaryHandler
 
class  TemplatedBidiStreamingHandler
 A wrapper class of an application provided bidi-streaming handler. More...
 
class  UnimplementedGenericBidiReactor
 

Typedefs

typedef ::grpc_impl::internal::ClientAsyncStreamingInterface ClientAsyncStreamingInterface
 
template<class R >
using AsyncReaderInterface = ::grpc_impl::internal::AsyncReaderInterface< R >
 
template<class W >
using AsyncWriterInterface = ::grpc_impl::internal::AsyncWriterInterface< W >
 
template<class R >
using ClientAsyncReaderFactory = ::grpc_impl::internal::ClientAsyncReaderFactory< R >
 
template<class W >
using ClientAsyncWriterFactory = ::grpc_impl::internal::ClientAsyncWriterFactory< W >
 
template<class W , class R >
using ClientAsyncReaderWriterFactory = ::grpc_impl::internal::ClientAsyncReaderWriterFactory< W, R >
 
template<class R >
using ClientAsyncResponseReaderFactory = ::grpc_impl::internal::ClientAsyncResponseReaderFactory< R >
 
typedef ErrorMethodHandler< StatusCode::UNIMPLEMENTED > UnknownMethodHandler
 
typedef ErrorMethodHandler< StatusCode::RESOURCE_EXHAUSTED > ResourceExhaustedHandler
 
typedef ::grpc_impl::internal::ClientStreamingInterface ClientStreamingInterface
 
typedef ::grpc_impl::internal::ServerStreamingInterface ServerStreamingInterface
 
template<class R >
using ReaderInterface = ::grpc_impl::internal::ReaderInterface< R >
 
template<class W >
using WriterInterface = ::grpc_impl::internal::WriterInterface< W >
 
template<class R >
using ClientReaderFactory = ::grpc_impl::internal::ClientReaderFactory< R >
 
template<class W >
using ClientWriterFactory = ::grpc_impl::internal::ClientWriterFactory< W >
 
template<class W , class R >
using ClientReaderWriterFactory = ::grpc_impl::internal::ClientReaderWriterFactory< W, R >
 

Functions

grpc_metadataFillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata, size_t *metadata_count, const grpc::string &optional_error_details)
 
template<class Func , class... Args>
void CatchingCallback (Func &&func, Args &&... args)
 An exception-safe way of invoking a user-specified callback function. More...
 
template<class ReturnType , class Func , class... Args>
ReturnType * CatchingReactorCreator (Func &&func, Args &&... args)
 
template<class InputMessage , class OutputMessage >
Status BlockingUnaryCall (ChannelInterface *channel, const RpcMethod &method, grpc_impl::ClientContext *context, const InputMessage &request, OutputMessage *result)
 Wrapper that performs a blocking unary call. More...
 
template<class Callable >
Status CatchingFunctionHandler (Callable &&handler)
 

Variables

experimental::ClientInterceptorFactoryInterfaceg_global_client_interceptor_factory
 
const char kBinaryErrorDetailsKey [] = "grpc-status-details-bin"
 

Detailed Description

Models a gRPC server.

Servers are configured and started via grpc::ServerBuilder.

Typedef Documentation

◆ AsyncReaderInterface

◆ AsyncWriterInterface

◆ ClientAsyncReaderFactory

◆ ClientAsyncReaderWriterFactory

◆ ClientAsyncResponseReaderFactory

◆ ClientAsyncStreamingInterface

◆ ClientAsyncWriterFactory

◆ ClientReaderFactory

◆ ClientReaderWriterFactory

◆ ClientStreamingInterface

◆ ClientWriterFactory

◆ ReaderInterface

◆ ResourceExhaustedHandler

typedef ErrorMethodHandler<StatusCode::RESOURCE_EXHAUSTED> grpc::internal::ResourceExhaustedHandler

◆ ServerStreamingInterface

◆ UnknownMethodHandler

typedef ErrorMethodHandler<StatusCode::UNIMPLEMENTED> grpc::internal::UnknownMethodHandler

◆ WriterInterface

Function Documentation

◆ BlockingUnaryCall()

template<class InputMessage , class OutputMessage >
Status grpc::internal::BlockingUnaryCall ( ChannelInterface channel,
const RpcMethod method,
grpc_impl::ClientContext context,
const InputMessage &  request,
OutputMessage *  result 
)

Wrapper that performs a blocking unary call.

◆ CatchingCallback()

template<class Func , class... Args>
void grpc::internal::CatchingCallback ( Func &&  func,
Args &&...  args 
)

An exception-safe way of invoking a user-specified callback function.

◆ CatchingFunctionHandler()

template<class Callable >
Status grpc::internal::CatchingFunctionHandler ( Callable &&  handler)

◆ CatchingReactorCreator()

template<class ReturnType , class Func , class... Args>
ReturnType* grpc::internal::CatchingReactorCreator ( Func &&  func,
Args &&...  args 
)

◆ FillMetadataArray()

grpc_metadata* grpc::internal::FillMetadataArray ( const std::multimap< grpc::string, grpc::string > &  metadata,
size_t *  metadata_count,
const grpc::string optional_error_details 
)
inline

Variable Documentation

◆ g_global_client_interceptor_factory

experimental::ClientInterceptorFactoryInterface* grpc::internal::g_global_client_interceptor_factory

◆ kBinaryErrorDetailsKey

const char grpc::internal::kBinaryErrorDetailsKey[] = "grpc-status-details-bin"