Home
last modified time | relevance | path

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

1234

/external/grpc-grpc/src/cpp/server/
Dserver_builder.cc43 ServerBuilder::ServerBuilder() in ServerBuilder() function in grpc::ServerBuilder
65 ServerBuilder::~ServerBuilder() { in ~ServerBuilder()
71 std::unique_ptr<ServerCompletionQueue> ServerBuilder::AddCompletionQueue( in AddCompletionQueue()
79 ServerBuilder& ServerBuilder::RegisterService(Service* service) { in RegisterService()
84 ServerBuilder& ServerBuilder::RegisterService(const grpc::string& addr, in RegisterService()
90 ServerBuilder& ServerBuilder::RegisterAsyncGenericService( in RegisterAsyncGenericService()
103 ServerBuilder& ServerBuilder::SetOption( in SetOption()
109 ServerBuilder& ServerBuilder::SetSyncServerOption( in SetSyncServerOption()
110 ServerBuilder::SyncServerOption option, int val) { in SetSyncServerOption()
128 ServerBuilder& ServerBuilder::SetCompressionAlgorithmSupportStatus( in SetCompressionAlgorithmSupportStatus()
[all …]
/external/grpc-grpc/include/grpcpp/
Dserver_builder.h52 class ServerBuilder {
54 ServerBuilder();
55 virtual ~ServerBuilder();
74 ServerBuilder& RegisterService(Service* service);
91 ServerBuilder& AddListeningPort(const grpc::string& addr_uri,
135 ServerBuilder& RegisterService(const grpc::string& host, Service* service);
141 ServerBuilder& RegisterAsyncGenericService(AsyncGenericService* service);
148 ServerBuilder& SetMaxReceiveMessageSize(int max_receive_message_size) { in SetMaxReceiveMessageSize()
155 ServerBuilder& SetMaxSendMessageSize(int max_send_message_size) { in SetMaxSendMessageSize()
161 ServerBuilder& SetMaxMessageSize(int max_message_size) { in SetMaxMessageSize()
[all …]
/external/grpc-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>()>);
/external/grpc-grpc/test/cpp/server/
Dserver_builder_test.cc47 TEST(ServerBuilderTest, NoOp) { ServerBuilder b; } in TEST()
50 ServerBuilder().RegisterService(&g_service).BuildAndStart()->Shutdown(); in TEST()
54 ServerBuilder() in TEST()
62 ServerBuilder() in TEST()
71 EXPECT_EQ(ServerBuilder() in TEST()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java63 if (ServerBuilder.class.isAssignableFrom(clazz) && clazz != ServerBuilder.class) { in params()
76 Assume.assumeTrue(ServerBuilder.class.isAssignableFrom(builderClass)); in serverBuilderHidesMethod_forPort()
80 assertTrue(ServerBuilder.class.isAssignableFrom(method.getReturnType())); in serverBuilderHidesMethod_forPort()
/external/grpc-grpc/test/cpp/end2end/
Dthread_stress_test.cc80 virtual void SetUpStart(ServerBuilder* builder, Service* service) = 0;
81 void SetUpStartCommon(ServerBuilder* builder, Service* service) { in SetUpStartCommon()
86 void SetUpEnd(ServerBuilder* builder) { server_ = builder->BuildAndStart(); } in SetUpEnd()
105 void SetUpStart(ServerBuilder* builder, Service* service) override { in SetUpStart()
129 void SetUpStart(ServerBuilder* builder, Service* service) override { in SetUpStart()
138 ServerBuilder builder; in SetUp()
155 ServerBuilder builder; in SetUp()
177 ServerBuilder builder; in SetUp()
Dserver_builder_plugin_test.cc128 ::grpc::ServerBuilder::InternalAddPluginFactory( in AddTestServerBuilderPlugin()
146 builder_.reset(new ServerBuilder()); in SetUp()
211 std::unique_ptr<ServerBuilder> builder_;
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerBuilder.java32 public abstract class ServerBuilder<T extends ServerBuilder<T>> { class
40 public static ServerBuilder<?> forPort(int port) { in forPort()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_master_service.h24 class ServerBuilder; variable
34 ::grpc::ServerBuilder* builder);
Dgrpc_worker_service.h28 class ServerBuilder; variable
75 GrpcWorker* worker, ::grpc::ServerBuilder* builder,
/external/grpc-grpc/include/grpcpp/impl/
Dserver_builder_plugin.h28 class ServerBuilder; variable
43 virtual void UpdateServerBuilder(ServerBuilder* builder) {} in UpdateServerBuilder()
/external/grpc-grpc/examples/cpp/helloworld/
Dgreeter_server.cc32 using grpc::ServerBuilder;
53 ServerBuilder builder; in RunServer()
Dgreeter_async_server.cc31 using grpc::ServerBuilder;
51 ServerBuilder builder; in Run()
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java24 import io.grpc.ServerBuilder;
69 assertThat(ServerBuilder.forPort(0)).isInstanceOf(NettyServerBuilder.class); in serviceLoaderFindsNetty()
76 server = ServerBuilder.forPort(0) in basic()
/external/tensorflow/tensorflow/contrib/verbs/
Dgrpc_verbs_service.h32 GrpcVerbsService(const WorkerEnv* worker_env, ::grpc::ServerBuilder* builder);
61 ::grpc::ServerBuilder* builder);
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/
DHelloWorldServer.java20 import io.grpc.ServerBuilder;
36 server = ServerBuilder.forPort(port) in start()
/external/grpc-grpc-java/examples/example-kotlin/src/main/kotlin/io/grpc/examples/helloworld/
DHelloWorldServer.kt20 import io.grpc.ServerBuilder
39 server = ServerBuilder.forPort(port) in start()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderServer.java20 import io.grpc.ServerBuilder;
41 server = ServerBuilder.forPort(PORT) in start()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dfullstack_fixtures.h57 virtual void ApplyCommonServerBuilderConfig(ServerBuilder* b) const { in ApplyCommonServerBuilderConfig()
78 ServerBuilder b; in FullstackFixture()
178 ServerBuilder b; in EndpointPairFixture()
324 void ApplyCommonServerBuilderConfig(ServerBuilder* b) const override { in ApplyCommonServerBuilderConfig()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/manualflowcontrol/
DManualFlowControlServer.java20 import io.grpc.ServerBuilder;
126 final Server server = ServerBuilder in main()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DHelloJsonServer.java23 import io.grpc.ServerBuilder;
53 server = ServerBuilder.forPort(port) in start()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadServer.java27 import io.grpc.ServerBuilder;
86 ServerBuilder<?> serverBuilder = ServerBuilder.forPort(port); in LoadServer()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractServerImplBuilder.java34 import io.grpc.ServerBuilder;
54 extends ServerBuilder<T> {
56 public static ServerBuilder<?> forPort(int port) { in forPort()
/external/grpc-grpc/examples/android/helloworld/app/src/main/cpp/
Dgrpc-helloworld.cc29 using grpc::ServerBuilder;
55 ServerBuilder builder; in StartServer()

1234