Home
last modified time | relevance | path

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

123456

/external/rust/crates/grpcio-sys/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()
134 ServerBuilder::experimental_type::AddExternalConnectionAcceptor( in AddExternalConnectionAcceptor()
146 ServerBuilder& ServerBuilder::SetOption( in SetOption()
[all …]
/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/rust/crates/grpcio-sys/grpc/spm-cpp-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 …]
Dxds_server_builder.h29 class XdsServerBuilder : public ::grpc::ServerBuilder {
36 return ServerBuilder::BuildAndStart(); in BuildAndStart()
/external/rust/crates/grpcio-sys/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 …]
Dxds_server_builder.h29 class XdsServerBuilder : public ::grpc::ServerBuilder {
36 return ServerBuilder::BuildAndStart(); in BuildAndStart()
/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/tensorflow/tensorflow/core/data/service/
Dserver_lib.h57 virtual void AddDataServiceToBuilder(::grpc::ServerBuilder& builder) = 0;
58 void AddProfilerServiceToBuilder(::grpc::ServerBuilder& builder);
88 void AddDataServiceToBuilder(::grpc::ServerBuilder& builder) override;
106 void AddDataServiceToBuilder(::grpc::ServerBuilder& builder) override;
Dserver_lib.cc46 ::grpc::ServerBuilder builder; in Start()
84 ::grpc::ServerBuilder& builder) { in AddProfilerServiceToBuilder()
97 ::grpc::ServerBuilder& builder) { in AddDataServiceToBuilder()
125 ::grpc::ServerBuilder& builder) { in AddDataServiceToBuilder()
Dgrpc_worker_impl.cc24 using ::grpc::ServerBuilder;
28 ServerBuilder& server_builder) in GrpcWorkerImpl()
Dgrpc_dispatcher_impl.cc25 using ::grpc::ServerBuilder;
29 const experimental::DispatcherConfig& config, ServerBuilder& server_builder) in GrpcDispatcherImpl()
/external/rust/crates/grpcio/src/
Dserver.rs297 pub struct ServerBuilder { struct
306 impl ServerBuilder { implementation
308 pub fn new(env: Arc<Environment>) -> ServerBuilder { in new() argument
309 ServerBuilder { in new()
322 pub fn bind<S: Into<String>>(mut self, host: S, port: u16) -> ServerBuilder { in bind() argument
328 pub fn channel_args(mut self, args: ChannelArgs) -> ServerBuilder { in channel_args() argument
334 pub fn requests_slot_per_cq(mut self, slots: usize) -> ServerBuilder { in requests_slot_per_cq() argument
340 pub fn register_service(mut self, service: Service) -> ServerBuilder { in register_service() argument
350 pub fn add_checker<C: ServerChecker + 'static>(mut self, checker: C) -> ServerBuilder { in add_checker() argument
398 use super::{Binder, ServerBuilder};
[all …]
/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-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/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()
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/
Dserver_builder_plugin.h29 class ServerBuilder; variable
43 virtual void UpdateServerBuilder(ServerBuilder* /*builder*/) {} in UpdateServerBuilder() argument
/external/dagger2/java/dagger/grpc/server/
DServerModule.java22 import io.grpc.ServerBuilder;
36 ServerBuilder<?> serverBuilder, Set<ServerServiceDefinition> serviceDefinitions) { in provideServer()
DInProcessServerModule.java24 import io.grpc.ServerBuilder;
51 ServerBuilder<?> serverBuilder() { in serverBuilder()
DNettyServerModule.java22 import io.grpc.ServerBuilder;
56 ServerBuilder<?> serverBuilder() { in serverBuilder()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/
Dserver_builder_plugin.h29 class ServerBuilder; variable
43 virtual void UpdateServerBuilder(ServerBuilder* /*builder*/) {} in UpdateServerBuilder() argument
/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()

123456