GRPC C++  1.62.0
Data Structures | Namespaces | Functions
server_context.h File Reference
#include <grpc/support/port_platform.h>
#include <atomic>
#include <cassert>
#include <map>
#include <memory>
#include <type_traits>
#include <vector>
#include <grpc/grpc.h>
#include <grpc/impl/compression_types.h>
#include <grpcpp/impl/call.h>
#include <grpcpp/impl/call_op_set.h>
#include <grpcpp/impl/codegen/create_auth_context.h>
#include <grpcpp/impl/codegen/metadata_map.h>
#include <grpcpp/impl/completion_queue_tag.h>
#include <grpcpp/impl/metadata_map.h>
#include <grpcpp/impl/rpc_service_method.h>
#include <grpcpp/security/auth_context.h>
#include <grpcpp/support/callback_common.h>
#include <grpcpp/support/config.h>
#include <grpcpp/support/message_allocator.h>
#include <grpcpp/support/server_callback.h>
#include <grpcpp/support/server_interceptor.h>
#include <grpcpp/support/status.h>
#include <grpcpp/support/string_ref.h>
#include <grpcpp/support/time.h>

Go to the source code of this file.

Data Structures

class  grpc::ServerAsyncReader< W, R >
 Async server-side API for doing client-streaming RPCs, where the incoming message stream from the client has messages of type R, and the single response message sent from the server is type W. More...
 
class  grpc::ServerAsyncWriter< W >
 Async server-side API for doing server streaming RPCs, where the outgoing message stream from the server has messages of type W. More...
 
class  grpc::ServerAsyncResponseWriter< W >
 Async server-side API for handling unary calls, where the single response message sent to the client is of type W. More...
 
class  grpc::ServerAsyncReaderWriter< W, R >
 Async server-side API for doing bidirectional streaming RPCs, where the incoming message stream coming from the client has messages of type R, and the outgoing message stream coming from the server has messages of type W. More...
 
class  grpc::ServerReader< R >
 Synchronous (blocking) server-side API for doing client-streaming RPCs, where the incoming message stream coming from the client has messages of type R. More...
 
class  grpc::ServerWriter< W >
 Synchronous (blocking) server-side API for doing for doing a server-streaming RPCs, where the outgoing message stream coming from the server has messages of type W. More...
 
class  grpc::internal::BidiStreamingHandler< ServiceType, RequestType, ResponseType >
 
class  grpc::internal::CallbackUnaryHandler< RequestType, ResponseType >
 
class  grpc::internal::CallbackClientStreamingHandler< RequestType, ResponseType >
 
class  grpc::internal::CallbackServerStreamingHandler< RequestType, ResponseType >
 
class  grpc::internal::CallbackBidiHandler< RequestType, ResponseType >
 
class  grpc::internal::ClientStreamingHandler< ServiceType, RequestType, ResponseType >
 A wrapper class of an application provided client streaming handler. More...
 
class  grpc::internal::RpcMethodHandler< ServiceType, RequestType, ResponseType, BaseRequestType, BaseResponseType >
 A wrapper class of an application provided rpc method handler. More...
 
class  grpc::internal::FinishOnlyReactor< Base >
 
class  grpc::internal::ServerReaderWriterBody< W, R >
 
class  grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >
 A wrapper class of an application provided server streaming handler. More...
 
class  grpc::internal::TemplatedBidiStreamingHandler< Streamer, WriteNeeded >
 A wrapper class of an application provided bidi-streaming handler. More...
 
class  grpc::internal::ErrorMethodHandler< code >
 General method handler class for errors that prevent real method use e.g., handle unknown method by returning UNIMPLEMENTED error. More...
 
class  grpc::ServerContextBase
 Base class of ServerContext. More...
 
class  grpc::ServerContext
 A ServerContext or CallbackServerContext allows the code implementing a service handler to: More...
 
class  grpc::CallbackServerContext
 
class  grpc::ContextAllocator
 A CallbackServerContext allows users to use the contents of the CallbackServerContext or GenericCallbackServerContext structure for the callback API. More...
 

Namespaces

 grpc
 An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided function on expiry or cancellation.
 
 grpc::internal
 Models a gRPC server.
 
 grpc::testing
 
 grpc::experimental
 ClientRpcInfo represents the state of a particular RPC as it appears to an interceptor.
 

Functions

template<class ResponseType >
void grpc::internal::UnaryRunHandlerHelper (const MethodHandler::HandlerParameter &param, ResponseType *rsp, grpc::Status &status)
 A helper function with reduced templating to do the common work needed to actually send the server response. More...