Class InboundWebsocketChannelInitializer

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
org.wso2.carbon.inbound.endpoint.protocol.websocket.InboundWebsocketChannelInitializer
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class InboundWebsocketChannelInitializer extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
  • Constructor Details

    • InboundWebsocketChannelInitializer

      public InboundWebsocketChannelInitializer()
  • Method Details

    • setSslConfiguration

      public void setSslConfiguration(InboundWebsocketSSLConfiguration sslConfiguration)
    • setPipelineHandler

      public void setPipelineHandler(io.netty.channel.ChannelHandler name)
    • setDispatchToCustomSequence

      public void setDispatchToCustomSequence(String dispatchToCustomSequence)
    • setClientBroadcastLevel

      public void setClientBroadcastLevel(int clientBroadcastLevel)
    • setOutflowDispatchSequence

      public void setOutflowDispatchSequence(String outflowDispatchSequence)
    • setOutflowErrorSequence

      public void setOutflowErrorSequence(String outflowErrorSequence)
    • setSubprotocolHandlers

      public void setSubprotocolHandlers(ArrayList<AbstractSubprotocolHandler> subprotocolHandlers)
    • setInflowIdleTime

      public void setInflowIdleTime(int inflowIdleTime)
    • setOutflowIdleTime

      public void setOutflowIdleTime(int outflowIdleTime)
    • setPassThroughControlFrames

      public void setPassThroughControlFrames(boolean passThroughControlFrames)
    • initChannel

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

      public void setPortOffset(int portOffset)