Package io.grpc.netty

Class ProtocolNegotiators.ClientTlsHandler

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Executor executor  
      private java.util.Optional<java.lang.Runnable> handshakeCompleteRunnable  
      private java.lang.String host  
      private int port  
      private io.netty.handler.ssl.SslContext sslContext  
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientTlsHandler​(io.netty.channel.ChannelHandler next, io.netty.handler.ssl.SslContext sslContext, java.lang.String authority, java.util.concurrent.Executor executor, ChannelLogger negotiationLogger, java.util.Optional<java.lang.Runnable> handshakeCompleteRunnable)  
    • Field Detail

      • sslContext

        private final io.netty.handler.ssl.SslContext sslContext
      • host

        private final java.lang.String host
      • port

        private final int port
      • executor

        private java.util.concurrent.Executor executor
      • handshakeCompleteRunnable

        private final java.util.Optional<java.lang.Runnable> handshakeCompleteRunnable
    • Constructor Detail

      • ClientTlsHandler

        ClientTlsHandler​(io.netty.channel.ChannelHandler next,
                         io.netty.handler.ssl.SslContext sslContext,
                         java.lang.String authority,
                         java.util.concurrent.Executor executor,
                         ChannelLogger negotiationLogger,
                         java.util.Optional<java.lang.Runnable> handshakeCompleteRunnable)