|
GRPC Core
18.0.0
|
#include <server.h>
Data Structures | |
| class | AllocatingRequestMatcherBase |
| class | AllocatingRequestMatcherBatch |
| class | AllocatingRequestMatcherRegistered |
| struct | BatchCallAllocation |
| class | ListenerInterface |
| Interface for listeners. More... | |
| class | RealRequestMatcher |
| struct | RegisteredCallAllocation |
| struct | RegisteredMethod |
| struct | RequestedCall |
| class | RequestMatcherInterface |
Data Fields | |
| void | mu_call_ |
Static Public Attributes | |
| static const grpc_channel_filter | kServerTopFilter |
Additional Inherited Members | |
Protected Member Functions inherited from grpc_core::InternallyRefCounted< Server > | |
| InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
| ~InternallyRefCounted () override=default | |
| RefCountedPtr< Server > | Ref () GRPC_MUST_USE_RESULT |
| RefCountedPtr< Server > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
| void | Unref () |
| void | Unref (const DebugLocation &location, const char *reason) |
Protected Member Functions inherited from grpc_core::Orphanable | |
| Orphanable () | |
| virtual | ~Orphanable () |
|
explicit |
|
override |
| void grpc_core::Server::AddListener | ( | OrphanablePtr< ListenerInterface > | listener | ) |
| void grpc_core::Server::CancelAllCalls | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| bool grpc_core::Server::HasOpenConnections | ( | ) |
|
overridevirtual |
Implements grpc_core::Orphanable.
|
inline |
| void grpc_core::Server::RegisterCompletionQueue | ( | grpc_completion_queue * | cq | ) |
| Server::RegisteredMethod * grpc_core::Server::RegisterMethod | ( | const char * | method, |
| const char * | host, | ||
| grpc_server_register_method_payload_handling | payload_handling, | ||
| uint32_t | flags | ||
| ) |
| grpc_call_error grpc_core::Server::RequestCall | ( | grpc_call ** | call, |
| grpc_call_details * | details, | ||
| grpc_metadata_array * | request_metadata, | ||
| grpc_completion_queue * | cq_bound_to_call, | ||
| grpc_completion_queue * | cq_for_notification, | ||
| void * | tag | ||
| ) |
| grpc_call_error grpc_core::Server::RequestRegisteredCall | ( | RegisteredMethod * | rm, |
| grpc_call ** | call, | ||
| gpr_timespec * | deadline, | ||
| grpc_metadata_array * | request_metadata, | ||
| grpc_byte_buffer ** | optional_payload, | ||
| grpc_completion_queue * | cq_bound_to_call, | ||
| grpc_completion_queue * | cq_for_notification, | ||
| void * | tag_new | ||
| ) |
|
inline |
| void grpc_core::Server::SetBatchMethodAllocator | ( | grpc_completion_queue * | cq, |
| std::function< BatchCallAllocation()> | allocator | ||
| ) |
| void grpc_core::Server::SetRegisteredMethodAllocator | ( | grpc_completion_queue * | cq, |
| void * | method_tag, | ||
| std::function< RegisteredCallAllocation()> | allocator | ||
| ) |
| grpc_error_handle grpc_core::Server::SetupTransport | ( | grpc_transport * | transport, |
| grpc_pollset * | accepting_pollset, | ||
| const grpc_channel_args * | args, | ||
| const RefCountedPtr< channelz::SocketNode > & | socket_node, | ||
| grpc_resource_user * | resource_user = nullptr |
||
| ) |
| void grpc_core::Server::ShutdownAndNotify | ( | grpc_completion_queue * | cq, |
| void * | tag | ||
| ) |
| void grpc_core::Server::Start | ( | ) |
|
static |
| void grpc_core::Server::mu_call_ |