Class OutboundChannelInitializer

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
com.bytedesk.call.esl.client.outbound.OutboundChannelInitializer
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class OutboundChannelInitializer extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
  • Field Details

  • Constructor Details

    • OutboundChannelInitializer

      public OutboundChannelInitializer(IClientHandlerFactory clientHandlerFactory)
  • Method Details

    • setCallbackExecutor

      public OutboundChannelInitializer setCallbackExecutor(ExecutorService callbackExecutor)
    • initChannel

      protected void initChannel(io.netty.channel.socket.SocketChannel ch) throws Exception
      Specified by:
      initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
      Throws:
      Exception