Searched refs:serverBuilder (Results 1 – 9 of 9) sorted by relevance
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/ |
D | TransportBenchmark.java | 76 AbstractServerImplBuilder<?> serverBuilder; in setUp() local 82 serverBuilder = InProcessServerBuilder.forName(name); in setUp() 89 serverBuilder = NettyServerBuilder.forAddress(address); in setUp() 98 serverBuilder = NettyServerBuilder.forAddress(address) in setUp() 116 serverBuilder = NettyServerBuilder.forAddress(address) in setUp() 134 serverBuilder = NettyServerBuilder.forAddress(address); in setUp() 143 serverBuilder.directExecutor(); in setUp() 148 server = serverBuilder in setUp()
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/ |
D | LoadServer.java | 86 ServerBuilder<?> serverBuilder = ServerBuilder.forPort(port); in LoadServer() local 96 serverBuilder.executor(getExecutor(asyncThreads)); in LoadServer() 100 serverBuilder.directExecutor(); in LoadServer() 104 serverBuilder.executor(getExecutor(asyncThreads)); in LoadServer() 120 serverBuilder.useTransportSecurity(cert, key); in LoadServer() 124 serverBuilder.addService( in LoadServer() 131 serverBuilder.addService(benchmarkService); in LoadServer() 133 server = serverBuilder.build(); in LoadServer()
|
/external/dagger2/java/dagger/grpc/server/ |
D | ServerModule.java | 36 ServerBuilder<?> serverBuilder, Set<ServerServiceDefinition> serviceDefinitions) { in provideServer() argument 38 serverBuilder.addService(serverServiceDefinition); in provideServer() 40 return serverBuilder.build(); in provideServer()
|
D | InProcessServerModule.java | 51 ServerBuilder<?> serverBuilder() { in serverBuilder() method in InProcessServerModule
|
D | NettyServerModule.java | 56 ServerBuilder<?> serverBuilder() { in serverBuilder() method in NettyServerModule
|
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/ |
D | AbstractBenchmark.java | 195 NettyServerBuilder serverBuilder; in setup() local 199 serverBuilder = NettyServerBuilder.forAddress(address); in setup() 200 serverBuilder.channelType(LocalServerChannel.class); in setup() 209 serverBuilder = NettyServerBuilder.forAddress(address); in setup() 214 serverBuilder.directExecutor(); in setup() 222 serverBuilder.workerEventLoopGroup(new NioEventLoopGroup(0, serverThreadFactory)); in setup() 225 serverBuilder.flowControlWindow(windowSize.bytes()); in setup() 229 serverBuilder.maxConcurrentCallsPerConnection(maxConcurrentStreams); in setup() 259 serverBuilder.addService( in setup() 374 server = serverBuilder.build(); in setup()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/ |
D | GrpcServerRule.java | 126 InProcessServerBuilder serverBuilder = InProcessServerBuilder.forName(serverName) in before() local 130 serverBuilder.directExecutor(); in before() 133 server = serverBuilder.build().start(); in before()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | TlsTest.java | 164 server = serverBuilder(0, serverCertFile, serverPrivateKeyFile, serverTrustedCaCerts) in basicClientServerIntegrationTest() 198 server = serverBuilder(0, serverCertFile, serverPrivateKeyFile, serverTrustedCaCerts) in serverRejectsUntrustedClientCert() 244 server = serverBuilder(0, serverCertFile, serverPrivateKeyFile, serverTrustedCaCerts) in noClientAuthFailure() 285 server = serverBuilder(0, serverCertFile, serverPrivateKeyFile, serverTrustedCaCerts) in clientRejectsUntrustedServerCert() 318 private ServerBuilder<?> serverBuilder(int port, File serverCertChainFile, in serverBuilder() method in TlsTest
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/ |
D | RouteGuideServer.java | 61 public RouteGuideServer(ServerBuilder<?> serverBuilder, int port, Collection<Feature> features) { in RouteGuideServer() argument 63 server = serverBuilder.addService(new RouteGuideService(features)) in RouteGuideServer()
|