Home
last modified time | relevance | path

Searched refs:forPort (Results 1 – 25 of 35) sorted by relevance

12

/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java69 assertThat(ServerBuilder.forPort(0)).isInstanceOf(NettyServerBuilder.class); in serviceLoaderFindsNetty()
76 server = ServerBuilder.forPort(0) in basic()
90 server = NettyServerBuilder.forPort(0) in tcnative()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyTransportTest.java60 .forPort(0) in newServer()
71 .forPort(port) in newServer()
DNettyServerBuilderTest.java39 private NettyServerBuilder builder = NettyServerBuilder.forPort(8080);
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpTransportTest.java55 .forPort(0) in newServer()
67 .forPort(port) in newServer()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java134 AltsServerBuilder.forPort(port) in start()
148 NettyServerBuilder.forPort(port) in start()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerProvider.java39 return NettyServerBuilder.forPort(port); in builderForPort()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/
DAltsServerBuilderTest.java28 AltsServerBuilder.forPort(1234).enableUntrustedAltsForTesting().build(); in buildsNettyServer()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DAutoWindowSizingOnTest.java40 return NettyServerBuilder.forPort(0) in getServerBuilder()
DHttp2NettyTest.java47 return NettyServerBuilder.forPort(0) in getServerBuilder()
DConcurrencyTest.java202 return NettyServerBuilder.forPort(0) in newServer()
DHttp2OkHttpTest.java79 return NettyServerBuilder.forPort(0) in getServerBuilder()
DTransportCompressionTest.java88 return NettyServerBuilder.forPort(0) in getServerBuilder()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/
DHelloWorldServer.java36 server = ServerBuilder.forPort(port) in start()
/external/grpc-grpc-java/examples/example-kotlin/src/main/kotlin/io/grpc/examples/helloworld/
DHelloWorldServer.kt39 server = ServerBuilder.forPort(port) in start()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderServer.java41 server = ServerBuilder.forPort(PORT) in start()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessServerBuilder.java83 public static InProcessServerBuilder forPort(int port) { in forPort() method in InProcessServerBuilder
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerBuilder.java40 public static ServerBuilder<?> forPort(int port) { in forPort() method in ServerBuilder
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/manualflowcontrol/
DManualFlowControlServer.java127 .forPort(50051) in main()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/alts/
DHelloWorldAltsServer.java85 AltsServerBuilder.forPort(port) in start()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DHelloJsonServer.java53 server = ServerBuilder.forPort(port) in start()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldServer.java87 server = ServerBuilder.forPort(serverPort).addService(new GreeterImpl()).build().start(); in start()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsServerBuilder.java71 public static AltsServerBuilder forPort(int port) { in forPort() method in AltsServerBuilder
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/errorhandling/
DErrorHandlingClient.java58 Server server = ServerBuilder.forPort(0).addService(new GreeterGrpc.GreeterImplBase() { in run()
DDetailErrorSample.java76 Server server = ServerBuilder.forPort(0).addService(new GreeterGrpc.GreeterImplBase() { in run()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadServer.java86 ServerBuilder<?> serverBuilder = ServerBuilder.forPort(port); in LoadServer()

12