Class AltsProtocolNegotiator.GoogleDefaultProtocolNegotiator

java.lang.Object
io.grpc.alts.internal.AltsProtocolNegotiator.GoogleDefaultProtocolNegotiator
All Implemented Interfaces:
io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator
Enclosing class:
AltsProtocolNegotiator

private static final class AltsProtocolNegotiator.GoogleDefaultProtocolNegotiator extends Object implements io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator
  • Field Details

  • Constructor Details

    • GoogleDefaultProtocolNegotiator

      GoogleDefaultProtocolNegotiator(com.google.common.collect.ImmutableList<String> targetServiceAccounts, io.grpc.internal.ObjectPool<io.grpc.Channel> handshakerChannelPool, io.netty.handler.ssl.SslContext sslContext, @Nullable io.grpc.Attributes.Key<String> clusterNameAttrKey)
  • Method Details

    • scheme

      public io.netty.util.AsciiString scheme()
    • newHandler

      public io.netty.channel.ChannelHandler newHandler(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler)
    • isDirectPathCluster

      private boolean isDirectPathCluster(String clusterName)
    • close

      public void close()