Home
last modified time | relevance | path

Searched refs:ProtocolNegotiator (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DGoogleDefaultProtocolNegotiator.java22 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()
DAltsProtocolNegotiator.java32 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/
DGoogleDefaultProtocolNegotiatorTest.java28 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/
DProtocolNegotiators.java83 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 …]
DNettyChannelBuilder.java345 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()
DNettyServerBuilder.java79 private ProtocolNegotiator protocolNegotiator;
211 @Nullable ProtocolNegotiator protocolNegotiator) { in protocolNegotiator()
426 ProtocolNegotiator negotiator = protocolNegotiator; in buildTransportServer()
DProtocolNegotiator.java27 public interface ProtocolNegotiator { interface
DNettyClientTransport.java70 private final ProtocolNegotiator negotiator;
82 private ProtocolNegotiator.Handler negotiationHandler;
98 ProtocolNegotiator negotiator, int flowControlWindow, int maxMessageSize, in NettyClientTransport()
DNettyServerTransport.java61 private final ProtocolNegotiator protocolNegotiator;
83 ProtocolNegotiator protocolNegotiator, in NettyServerTransport()
DNettyServer.java74 private final ProtocolNegotiator protocolNegotiator;
105 ProtocolNegotiator protocolNegotiator, List<ServerStreamTracer.Factory> streamTracerFactories, in NettyServer()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyChannelBuilderTest.java143 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()
DNettyClientTransportTest.java117 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 {
DProtocolNegotiatorsTest.java326 ProtocolNegotiator nego = in httpProxy_completes()
390 ProtocolNegotiator nego = in httpProxy_500()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/
DGoogleDefaultChannelBuilderTest.java23 import io.grpc.netty.ProtocolNegotiator;
38 ProtocolNegotiator protocolNegotiator = in buildsNettyChannel()
DAltsChannelBuilderTest.java25 import io.grpc.netty.ProtocolNegotiator;
51 ProtocolNegotiator protocolNegotiator = in buildsNettyChannel()