Home
last modified time | relevance | path

Searched refs:ServerBuilder (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/grpc/src/cpp/server/
Dserver_builder.cc46 ServerBuilder::ServerBuilder() in ServerBuilder() function in grpc::ServerBuilder
65 ServerBuilder::~ServerBuilder() { in ~ServerBuilder()
71 std::unique_ptr<grpc::ServerCompletionQueue> ServerBuilder::AddCompletionQueue( in AddCompletionQueue()
81 ServerBuilder& ServerBuilder::RegisterService(Service* service) { in RegisterService()
86 ServerBuilder& ServerBuilder::RegisterService(const std::string& host, in RegisterService()
92 ServerBuilder& ServerBuilder::RegisterAsyncGenericService( in RegisterAsyncGenericService()
106 ServerBuilder& ServerBuilder::RegisterCallbackGenericService( in RegisterCallbackGenericService()
119 ServerBuilder& ServerBuilder::experimental_type::RegisterCallbackGenericService( in RegisterCallbackGenericService()
133 ServerBuilder& ServerBuilder::experimental_type::SetContextAllocator( in SetContextAllocator()
140 ServerBuilder::experimental_type::AddExternalConnectionAcceptor( in AddExternalConnectionAcceptor()
[all …]
Dexternal_connection_acceptor_impl.cc46 ServerBuilder::experimental_type::ExternalConnectionType type, in ExternalConnectionAcceptorImpl()
50 ServerBuilder::experimental_type::ExternalConnectionType::FROM_FD); in ExternalConnectionAcceptorImpl()
/third_party/grpc/include/grpcpp/
Dserver_builder.h90 class ServerBuilder {
92 ServerBuilder();
93 virtual ~ServerBuilder();
114 ServerBuilder& RegisterService(grpc::Service* service);
131 ServerBuilder& AddListeningPort(
176 ServerBuilder& RegisterService(const std::string& host,
183 ServerBuilder& RegisterAsyncGenericService(
191 ServerBuilder& SetMaxReceiveMessageSize(int max_receive_message_size) { in SetMaxReceiveMessageSize()
198 ServerBuilder& SetMaxSendMessageSize(int max_send_message_size) { in SetMaxSendMessageSize()
204 ServerBuilder& SetMaxMessageSize(int max_message_size) { in SetMaxMessageSize()
[all …]
Dserver_builder_impl.h94 class ServerBuilder {
96 ServerBuilder();
97 virtual ~ServerBuilder();
118 ServerBuilder& RegisterService(grpc::Service* service);
135 ServerBuilder& AddListeningPort(
180 ServerBuilder& RegisterService(const std::string& host,
187 ServerBuilder& RegisterAsyncGenericService(
195 ServerBuilder& SetMaxReceiveMessageSize(int max_receive_message_size) { in SetMaxReceiveMessageSize()
202 ServerBuilder& SetMaxSendMessageSize(int max_send_message_size) { in SetMaxSendMessageSize()
208 ServerBuilder& SetMaxMessageSize(int max_message_size) { in SetMaxMessageSize()
[all …]
Dxds_server_builder.h29 class XdsServerBuilder : public ::grpc::ServerBuilder {
36 return ServerBuilder::BuildAndStart(); in BuildAndStart()
/third_party/grpc/test/cpp/qps/
Dqps_server_builder.cc21 using grpc::ServerBuilder;
27 std::unique_ptr<ServerBuilder> DefaultCreateQpsServerBuilder() { in DefaultCreateQpsServerBuilder()
28 return std::unique_ptr<ServerBuilder>(new ServerBuilder()); in DefaultCreateQpsServerBuilder()
31 std::function<std::unique_ptr<ServerBuilder>()> g_create_qps_server_builder =
35 std::unique_ptr<ServerBuilder> CreateQpsServerBuilder() { in CreateQpsServerBuilder()
40 std::function<std::unique_ptr<ServerBuilder>()> create_qps_server_builder) { in SetCreateQpsServerBuilderFunc()
Dqps_server_builder.h35 std::unique_ptr<ServerBuilder> CreateQpsServerBuilder();
41 std::function<std::unique_ptr<ServerBuilder>()>);
/third_party/grpc/test/cpp/server/
Dserver_builder_test.cc54 TEST_F(ServerBuilderTest, NoOp) { ServerBuilder b; } in TEST_F()
57 ServerBuilder().RegisterService(&g_service).BuildAndStart()->Shutdown(); in TEST_F()
61 ServerBuilder() in TEST_F()
69 ServerBuilder() in TEST_F()
78 EXPECT_EQ(ServerBuilder() in TEST_F()
/third_party/grpc/test/cpp/end2end/
Dthread_stress_test.cc87 virtual void SetUpStart(ServerBuilder* builder, Service* service) = 0;
88 void SetUpStartCommon(ServerBuilder* builder, Service* service) { in SetUpStartCommon()
93 void SetUpEnd(ServerBuilder* builder) { server_ = builder->BuildAndStart(); } in SetUpEnd()
112 void SetUpStart(ServerBuilder* builder, Service* service) override { in SetUpStart()
136 void SetUpStart(ServerBuilder* builder, Service* service) override { in SetUpStart()
145 ServerBuilder builder; in SetUp()
162 ServerBuilder builder; in SetUp()
184 ServerBuilder builder; in SetUp()
Dserver_builder_plugin_test.cc127 ::grpc::ServerBuilder::InternalAddPluginFactory( in StaticTestPluginInitializer()
141 builder_.reset(new ServerBuilder()); in SetUp()
206 std::unique_ptr<ServerBuilder> builder_;
Dserver_interceptors_end2end_test.cc235 ServerBuilder builder; in ServerInterceptorsEnd2endSyncUnaryTest()
282 ServerBuilder builder; in ServerInterceptorsEnd2endSyncStreamingTest()
347 ServerBuilder builder; in TEST_F()
420 ServerBuilder builder; in TEST_F()
503 ServerBuilder builder; in TEST_F()
609 ServerBuilder builder; in TEST_F()
661 ServerBuilder builder; in TEST_F()
Dport_sharing_end2end_test.cc217 ServerBuilder builder; in SetUp()
231 ServerBuilder::experimental_type::ExternalConnectionType::FROM_FD, in SetUp()
235 ServerBuilder::experimental_type::ExternalConnectionType::FROM_FD, in SetUp()
/third_party/grpc/include/grpcpp/impl/
Dserver_builder_plugin.h29 class ServerBuilder; variable
43 virtual void UpdateServerBuilder(ServerBuilder* /*builder*/) {} in UpdateServerBuilder() argument
/third_party/grpc/examples/cpp/load_balancing/
Dgreeter_server.cc32 using grpc::ServerBuilder;
53 ServerBuilder builder; in RunServer()
/third_party/grpc/examples/cpp/compression/
Dgreeter_server.cc32 using grpc::ServerBuilder;
55 ServerBuilder builder; in RunServer()
/third_party/grpc/examples/cpp/helloworld/
Dgreeter_server.cc34 using grpc::ServerBuilder;
57 ServerBuilder builder; in RunServer()
Dgreeter_async_server.cc35 using grpc::ServerBuilder;
55 ServerBuilder builder; in Run()
/third_party/grpc/examples/cpp/keyvaluestore/
Dserver.cc33 using grpc::ServerBuilder;
78 ServerBuilder builder; in RunServer()
/third_party/grpc/examples/cpp/metadata/
Dgreeter_server.cc32 using grpc::ServerBuilder;
75 ServerBuilder builder; in RunServer()
/third_party/grpc/test/cpp/interop/
Dxds_interop_server.cc42 using grpc::ServerBuilder;
81 ServerBuilder builder; in RunServer()
Dreconnect_interop_server.cc47 using grpc::ServerBuilder;
167 ServerBuilder builder; in RunServer()
/third_party/grpc/test/cpp/microbenchmarks/
Dfullstack_fixtures.h57 virtual void ApplyCommonServerBuilderConfig(ServerBuilder* b) const { in ApplyCommonServerBuilderConfig()
69 ServerBuilder b; in FullstackFixture()
165 ServerBuilder b; in EndpointPairFixture()
307 void ApplyCommonServerBuilderConfig(ServerBuilder* b) const override { in ApplyCommonServerBuilderConfig()
/third_party/grpc/examples/android/helloworld/app/src/main/cpp/
Dgrpc-helloworld.cc29 using grpc::ServerBuilder;
55 ServerBuilder builder; in StartServer()
/third_party/grpc/include/grpcpp/impl/codegen/
Dcompletion_queue_impl.h81 class ServerBuilder; variable
258 friend class ::grpc::ServerBuilder;
448 friend class ::grpc::ServerBuilder;
/third_party/grpc/src/cpp/server/load_reporter/
Dload_reporting_service_server_builder_plugin.cc43 grpc::ServerBuilder* builder) { in UpdateServerBuilder()

1234