Home
last modified time | relevance | path

Searched refs:NettyServerBuilder (Results 1 – 25 of 29) sorted by relevance

12

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerBuilder.java57 public final class NettyServerBuilder extends AbstractServerImplBuilder<NettyServerBuilder> { class
99 public static NettyServerBuilder forPort(int port) { in forPort()
100 return new NettyServerBuilder(port); in forPort()
110 public static NettyServerBuilder forAddress(SocketAddress address) { in forAddress()
111 return new NettyServerBuilder(address); in forAddress()
115 private NettyServerBuilder(int port) { in NettyServerBuilder() method in NettyServerBuilder
120 private NettyServerBuilder(SocketAddress address) { in NettyServerBuilder() method in NettyServerBuilder
127 public NettyServerBuilder channelType(Class<? extends ServerChannel> channelType) { in channelType()
138 public <T> NettyServerBuilder withChildOption(ChannelOption<T> option, T value) { in withChildOption()
161 public NettyServerBuilder bossEventLoopGroup(EventLoopGroup group) { in bossEventLoopGroup()
[all …]
DInternalNettyServerBuilder.java28 public static void setStatsEnabled(NettyServerBuilder builder, boolean value) { in setStatsEnabled()
32 public static void setStatsRecordStartedRpcs(NettyServerBuilder builder, boolean value) { in setStatsRecordStartedRpcs()
36 public static void setTracingEnabled(NettyServerBuilder builder, boolean value) { in setTracingEnabled()
DNettyServerProvider.java38 protected NettyServerBuilder builderForPort(int port) { in builderForPort()
39 return NettyServerBuilder.forPort(port); in builderForPort()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsServerBuilder.java45 import io.grpc.netty.NettyServerBuilder;
61 private final NettyServerBuilder delegate;
66 private AltsServerBuilder(NettyServerBuilder nettyDelegate) { in AltsServerBuilder()
72 NettyServerBuilder nettyDelegate = in forPort()
73 NettyServerBuilder.forAddress(new InetSocketAddress(port)) in forPort()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/
DTransportBenchmark.java35 import io.grpc.netty.NettyServerBuilder;
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()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpTransportTest.java26 import io.grpc.netty.NettyServerBuilder;
54 NettyServerBuilder in newServer()
66 NettyServerBuilder in newServer()
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java28 import io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder;
69 assertThat(ServerBuilder.forPort(0)).isInstanceOf(NettyServerBuilder.class); in serviceLoaderFindsNetty()
90 server = NettyServerBuilder.forPort(0) in tcnative()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DAutoWindowSizingOnTest.java24 import io.grpc.netty.NettyServerBuilder;
40 return NettyServerBuilder.forPort(0) in getServerBuilder()
DHttp2NettyLocalChannelTest.java23 import io.grpc.netty.NettyServerBuilder;
38 return NettyServerBuilder in getServerBuilder()
DHttp2NettyTest.java27 import io.grpc.netty.NettyServerBuilder;
47 return NettyServerBuilder.forPort(0) in getServerBuilder()
DConcurrencyTest.java27 import io.grpc.netty.NettyServerBuilder;
202 return NettyServerBuilder.forPort(0) in newServer()
DHttp2OkHttpTest.java31 import io.grpc.netty.NettyServerBuilder;
79 return NettyServerBuilder.forPort(0) in getServerBuilder()
DNettyFlowControlTest.java30 import io.grpc.netty.NettyServerBuilder;
179 NettyServerBuilder.forAddress(new InetSocketAddress("localhost", 0)) in startServer()
DTransportCompressionTest.java43 import io.grpc.netty.NettyServerBuilder;
88 return NettyServerBuilder.forPort(0) in getServerBuilder()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyTransportTest.java59 return NettyServerBuilder in newServer()
70 return NettyServerBuilder in newServer()
DNettyServerBuilderTest.java39 private NettyServerBuilder builder = NettyServerBuilder.forPort(8080);
DNettyServerProviderTest.java46 assertSame(NettyServerBuilder.class, provider.builderForPort(443).getClass()); in builderIsANettyBuilder()
DNettyClientTransportTest.java26 import static io.grpc.netty.NettyServerBuilder.MAX_CONNECTION_AGE_GRACE_NANOS_INFINITE;
27 import static io.grpc.netty.NettyServerBuilder.MAX_CONNECTION_AGE_NANOS_DISABLED;
28 import static io.grpc.netty.NettyServerBuilder.MAX_CONNECTION_IDLE_NANOS_DISABLED;
DNettyServerHandlerTest.java23 import static io.grpc.netty.NettyServerBuilder.MAX_CONNECTION_AGE_GRACE_NANOS_INFINITE;
24 import static io.grpc.netty.NettyServerBuilder.MAX_CONNECTION_AGE_NANOS_DISABLED;
25 import static io.grpc.netty.NettyServerBuilder.MAX_CONNECTION_IDLE_NANOS_DISABLED;
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/
DHelloWorldServerTls.java24 import io.grpc.netty.NettyServerBuilder;
73 server = NettyServerBuilder.forAddress(new InetSocketAddress(host, port)) in start()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAsyncServer.java27 import io.grpc.netty.NettyServerBuilder;
156 NettyServerBuilder builder = NettyServerBuilder in newServer()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java26 import io.grpc.netty.NettyServerBuilder;
148 NettyServerBuilder.forPort(port) in start()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DFakeOcAgentTraceServiceGrpcImpl.java22 import io.grpc.netty.NettyServerBuilder;
134 ServerBuilder<?> builder = NettyServerBuilder.forAddress(parseEndpoint(endPoint)); in startServer()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java34 import io.grpc.netty.NettyServerBuilder;
195 NettyServerBuilder serverBuilder; in setup()
199 serverBuilder = NettyServerBuilder.forAddress(address); in setup()
209 serverBuilder = NettyServerBuilder.forAddress(address); in setup()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadWorker.java27 import io.grpc.netty.NettyServerBuilder;
51 this.driverServer = NettyServerBuilder.forPort(driverPort) in LoadWorker()

12