GRPC C++  1.26.0
Data Structures | Namespaces | Macros
server_cc.cc File Reference
#include <grpcpp/server.h>
#include <cstdlib>
#include <sstream>
#include <type_traits>
#include <utility>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpcpp/completion_queue.h>
#include <grpcpp/generic/async_generic_service.h>
#include <grpcpp/impl/codegen/async_unary_call.h>
#include <grpcpp/impl/codegen/byte_buffer.h>
#include <grpcpp/impl/codegen/call.h>
#include <grpcpp/impl/codegen/completion_queue_tag.h>
#include <grpcpp/impl/codegen/method_handler.h>
#include <grpcpp/impl/codegen/server_interceptor.h>
#include <grpcpp/impl/grpc_library.h>
#include <grpcpp/impl/rpc_service_method.h>
#include <grpcpp/impl/server_initializer.h>
#include <grpcpp/impl/service_type.h>
#include <grpcpp/security/server_credentials.h>
#include <grpcpp/server_context.h>
#include <grpcpp/support/time.h>
#include "src/core/ext/transport/inproc/inproc_transport.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/profiling/timers.h"
#include "src/core/lib/surface/call.h"
#include "src/core/lib/surface/completion_queue.h"
#include "src/cpp/client/create_channel_internal.h"
#include "src/cpp/server/external_connection_acceptor_impl.h"
#include "src/cpp/server/health/default_health_check_service.h"
#include "src/cpp/thread_manager/thread_manager.h"

Data Structures

class  grpc_impl::Server::UnimplementedAsyncRequest
 Use private inheritance rather than composition only to establish order of construction, since the public base class should be constructed after the elements belonging to the private base class are constructed. More...
 
class  grpc_impl::Server::UnimplementedAsyncResponse
 UnimplementedAsyncResponse should not post user-visible completions to the C++ completion queue, but is generated as a CQ event by the core. More...
 
class  grpc_impl::Server::SyncRequest
 
class  grpc_impl::Server::SyncRequest::CallData
 
class  grpc_impl::Server::CallbackRequestBase
 
class  grpc_impl::Server::SyncRequestThreadManager
 

Namespaces

 grpc
 This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInputStream interface.
 
 grpc_impl
 An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided function on expiry or cancellation.
 

Macros

#define DEFAULT_MAX_SYNC_SERVER_THREADS   INT_MAX
 
#define DEFAULT_CALLBACK_REQS_PER_METHOD   512
 
#define SOFT_MAXIMUM_CALLBACK_REQS_OUTSTANDING   30000
 
#define SOFT_MINIMUM_SPARE_CALLBACK_REQS_PER_METHOD   128
 

Macro Definition Documentation

◆ DEFAULT_CALLBACK_REQS_PER_METHOD

#define DEFAULT_CALLBACK_REQS_PER_METHOD   512

◆ DEFAULT_MAX_SYNC_SERVER_THREADS

#define DEFAULT_MAX_SYNC_SERVER_THREADS   INT_MAX

◆ SOFT_MAXIMUM_CALLBACK_REQS_OUTSTANDING

#define SOFT_MAXIMUM_CALLBACK_REQS_OUTSTANDING   30000

◆ SOFT_MINIMUM_SPARE_CALLBACK_REQS_PER_METHOD

#define SOFT_MINIMUM_SPARE_CALLBACK_REQS_PER_METHOD   128

Variable Documentation

◆ generic_stream_

GenericServerAsyncReaderWriter generic_stream_
protected

◆ server_context_

GenericServerContext server_context_
protected