Records
-
class AsyncReaderInterface -
class AsyncWriterInterface -
class BidiStreamingHandler -
class BlockingUnaryCallImpl -
class Call -
class CallHook -
class CallNoOp -
class CallOpClientRecvStatus -
class CallOpClientSendClose -
class CallOpGenericRecvMessage -
class CallOpRecvInitialMetadata -
class CallOpRecvMessage -
class CallOpSendInitialMetadata -
class CallOpSendMessage -
class CallOpServerSendStatus -
class CallOpSet -
class CallOpSetInterface -
class CallbackBidiHandler -
class CallbackClientStreamingHandler -
class CallbackServerStreamingHandler -
class CallbackUnaryCallImpl -
class CallbackUnaryHandler -
class CallbackWithStatusTag -
class CallbackWithSuccessTag -
class CancelInterceptorBatchMethods -
class ClientAsyncReaderFactory -
class ClientAsyncReaderWriterFactory -
class ClientAsyncResponseReaderFactory -
class ClientAsyncResponseReaderHelper -
class ClientAsyncStreamingInterface -
class ClientAsyncWriterFactory -
class ClientCallbackReaderFactory -
class ClientCallbackReaderImpl -
class ClientCallbackReaderWriterFactory -
class ClientCallbackReaderWriterImpl -
class ClientCallbackUnaryFactory -
class ClientCallbackUnaryImpl -
class ClientCallbackWriterFactory -
class ClientCallbackWriterImpl -
class ClientContextAccessor -
class ClientReactor -
class ClientReaderFactory -
class ClientReaderWriterFactory -
class ClientStreamingHandler -
class ClientStreamingInterface -
class ClientWriterFactory -
class CompletionQueueTag -
class DefaultMessageHolder -
class DeserializeFunc -
class DeserializeFuncType -
class ErrorMethodHandler -
class ExternalConnectionAcceptorImpl -
class FinishOnlyReactor -
class GrpcByteBufferPeer -
class GrpcLibrary -
class InterceptedChannel -
class InterceptorBatchMethodsImpl -
class MetadataMap -
class MethodHandler -
class ProtoBufferWriterPeer -
class ReaderInterface -
class RpcMethod -
class RpcMethodHandler -
class RpcServiceMethod -
class ServerAsyncStreamingInterface -
class ServerCallbackCall -
class ServerContextImpl -
class ServerReactor -
class ServerReaderWriterBody -
class ServerStreamingHandler -
class ServerStreamingInterface -
class SplitServerStreamingHandler -
class StreamedUnaryHandler -
class TemplatedBidiStreamingHandler -
class WriterInterface
Functions
-
template <class Func, class... Args>void CatchingCallback (Func && func, Args &&... args)An exception-safe way of invoking a user-specified callback function
TODO(vjpai): decide whether it is better for this to take a const lvalue
parameter or an rvalue parameter, or if it even matters
Defined at line 42 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
-
template <class Callable>::grpc::Status CatchingFunctionHandler (Callable && handler)Invoke the method handler, fill in the status, and
return whether or not we finished safely (without an exception).
Note that exception handling is 0-cost in most compiler/library
implementations (except when an exception is actually thrown),
so this process doesn't require additional overhead in the common case.
Additionally, we don't need to return if we caught an exception or not;
the handling is the same in either case.
Defined at line 42 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/method_handler.h
-
template <class InputMessage, class OutputMessage, class BaseInputMessage = InputMessage, class BaseOutputMessage = OutputMessage>void CallbackUnaryCall (grpc::ChannelInterface * channel, const grpc::internal::RpcMethod & method, grpc::ClientContext * context, const InputMessage * request, OutputMessage * result, std::function<void (grpc::Status)> on_completion)Perform a callback-based unary call. May optionally specify the base
class of the Request and Response so that the internal calls and structures
below this may be based on those base classes and thus achieve code reuse
across different RPCs (e.g., for protobuf, MessageLite would be a base
class).
TODO(vjpai): Combine as much as possible with the blocking unary call code
Defined at line 53 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/client_callback.h
-
template <class Reactor, class Func, class... Args>Reactor * CatchingReactorGetter (Func && func, Args &&... args)Defined at line 55 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
-
grpc_metadata * FillMetadataArray (const std::multimap<std::string, std::string> & metadata, size_t * metadata_count, const std::string & optional_error_details)TODO(yangg) if the map is changed before we send, the pointers will be a
mess. Make sure it does not happen.
Defined at line 56 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
-
template <class RequestType>void * UnaryDeserializeHelper (grpc_byte_buffer * , grpc::Status * , RequestType * )A helper function with reduced templating to do deserializing.
Defined at line 83 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/method_handler.h
-
template <class ResponseType>void UnaryRunHandlerHelper (const grpc::internal::MethodHandler::HandlerParameter & ResponseType * grpc::Status & )A helper function with reduced templating to do the common work needed to
actually send the server response. Uses non-const parameter for Status since
this should only ever be called from the end of the RunHandler method.
Defined at line 60 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/method_handler.h
Variables
experimental::ClientInterceptorFactoryInterface * g_global_client_interceptor_factory
experimental::ClientInterceptorFactoryInterface * g_global_client_stats_interceptor_factory