Searched refs:ProtocolNegotiator (Results 1 – 15 of 15) sorted by relevance
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | GoogleDefaultProtocolNegotiator.java | 22 import io.grpc.netty.ProtocolNegotiator; 27 public final class GoogleDefaultProtocolNegotiator implements ProtocolNegotiator { 28 private final ProtocolNegotiator altsProtocolNegotiator; 29 private final ProtocolNegotiator tlsProtocolNegotiator; 38 ProtocolNegotiator altsProtocolNegotiator, ProtocolNegotiator tlsProtocolNegotiator) { in GoogleDefaultProtocolNegotiator()
|
D | AltsProtocolNegotiator.java | 32 import io.grpc.netty.ProtocolNegotiator; 42 public abstract class AltsProtocolNegotiator implements ProtocolNegotiator { 73 implements ProtocolNegotiator.Handler {
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | GoogleDefaultProtocolNegotiatorTest.java | 28 import io.grpc.netty.ProtocolNegotiator; 29 import io.grpc.netty.ProtocolNegotiator.Handler; 37 private ProtocolNegotiator altsProtocolNegotiator; 38 private ProtocolNegotiator tlsProtocolNegotiator; 43 altsProtocolNegotiator = mock(ProtocolNegotiator.class); in setUp() 44 tlsProtocolNegotiator = mock(ProtocolNegotiator.class); in setUp()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | ProtocolNegotiators.java | 83 public static ProtocolNegotiator serverPlaintext() { in serverPlaintext() 84 return new ProtocolNegotiator() { in serverPlaintext() 113 public static ProtocolNegotiator serverTls(final SslContext sslContext) { 115 return new ProtocolNegotiator() { 125 implements ProtocolNegotiator.Handler { 193 public static ProtocolNegotiator httpProxy(final SocketAddress proxyAddress, 195 final ProtocolNegotiator negotiator) { 198 class ProxyNegotiator implements ProtocolNegotiator { 219 implements ProtocolNegotiator.Handler { 220 private final ProtocolNegotiator.Handler originalHandler; [all …]
|
D | NettyChannelBuilder.java | 345 ProtocolNegotiator negotiator = in buildTransportFactory() 382 static ProtocolNegotiator createProtocolNegotiatorByType( in createProtocolNegotiatorByType() 454 ProtocolNegotiator getProtocolNegotiator(); in getProtocolNegotiator() 550 final ProtocolNegotiator negotiator; 552 DefaultNettyTransportCreationParamsFilterFactory(ProtocolNegotiator negotiator) { in DefaultNettyTransportCreationParamsFilterFactory() 562 ProtocolNegotiator localNegotiator = negotiator; in create() 578 private final ProtocolNegotiator protocolNegotiator; 584 ProtocolNegotiator protocolNegotiator) { in DynamicNettyTransportParams() 607 public ProtocolNegotiator getProtocolNegotiator() { in getProtocolNegotiator()
|
D | NettyServerBuilder.java | 79 private ProtocolNegotiator protocolNegotiator; 211 @Nullable ProtocolNegotiator protocolNegotiator) { in protocolNegotiator() 426 ProtocolNegotiator negotiator = protocolNegotiator; in buildTransportServer()
|
D | ProtocolNegotiator.java | 27 public interface ProtocolNegotiator { interface
|
D | NettyClientTransport.java | 70 private final ProtocolNegotiator negotiator; 82 private ProtocolNegotiator.Handler negotiationHandler; 98 ProtocolNegotiator negotiator, int flowControlWindow, int maxMessageSize, in NettyClientTransport()
|
D | NettyServerTransport.java | 61 private final ProtocolNegotiator protocolNegotiator; 83 ProtocolNegotiator protocolNegotiator, in NettyServerTransport()
|
D | NettyServer.java | 74 private final ProtocolNegotiator protocolNegotiator; 105 ProtocolNegotiator protocolNegotiator, List<ServerStreamTracer.Factory> streamTracerFactories, in NettyServer()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyChannelBuilderTest.java | 143 ProtocolNegotiator negotiator = NettyChannelBuilder.createProtocolNegotiatorByType( in createProtocolNegotiatorByType_plaintext() 152 ProtocolNegotiator negotiator = NettyChannelBuilder.createProtocolNegotiatorByType( in createProtocolNegotiatorByType_plaintextUpgrade() 169 ProtocolNegotiator negotiator = NettyChannelBuilder.createProtocolNegotiatorByType( in createProtocolNegotiatorByType_tlsWithClientContext() 183 ProtocolNegotiator negotiator = NettyChannelBuilder.createProtocolNegotiatorByType( in createProtocolNegotiatorByType_tlsWithAuthorityFallback()
|
D | NettyClientTransportTest.java | 117 private ProtocolNegotiator negotiator = ProtocolNegotiators.serverTls(SSL_CONTEXT); 232 ProtocolNegotiator negotiator = newNegotiator(); in creatingMultipleTlsTransportsShouldSucceed() 296 ProtocolNegotiator negotiator = ProtocolNegotiators.tls(clientContext); in tlsNegotiationFailurePropagatesToStatus() 572 private ProtocolNegotiator newNegotiator() throws IOException { in newNegotiator() 579 private NettyClientTransport newTransport(ProtocolNegotiator negotiator) { in newTransport() 584 private NettyClientTransport newTransport(ProtocolNegotiator negotiator, int maxMsgSize, in newTransport() 804 implements ProtocolNegotiator.Handler { 815 private static class NoopProtocolNegotiator implements ProtocolNegotiator {
|
D | ProtocolNegotiatorsTest.java | 326 ProtocolNegotiator nego = in httpProxy_completes() 390 ProtocolNegotiator nego = in httpProxy_500()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/ |
D | GoogleDefaultChannelBuilderTest.java | 23 import io.grpc.netty.ProtocolNegotiator; 38 ProtocolNegotiator protocolNegotiator = in buildsNettyChannel()
|
D | AltsChannelBuilderTest.java | 25 import io.grpc.netty.ProtocolNegotiator; 51 ProtocolNegotiator protocolNegotiator = in buildsNettyChannel()
|