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>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitChannel(io.netty.channel.socket.SocketChannel websocketChannel) voidsetClientBroadcastLevel(int clientBroadcastLevel) voidsetDispatchToCustomSequence(String dispatchToCustomSequence) voidsetInflowIdleTime(int inflowIdleTime) voidsetOutflowDispatchSequence(String outflowDispatchSequence) voidsetOutflowErrorSequence(String outflowErrorSequence) voidsetOutflowIdleTime(int outflowIdleTime) voidsetPassThroughControlFrames(boolean passThroughControlFrames) voidsetPipelineHandler(io.netty.channel.ChannelHandler name) voidsetPortOffset(int portOffset) voidsetSslConfiguration(InboundWebsocketSSLConfiguration sslConfiguration) voidsetSubprotocolHandlers(ArrayList<AbstractSubprotocolHandler> subprotocolHandlers) Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
InboundWebsocketChannelInitializer
public InboundWebsocketChannelInitializer()
-
-
Method Details
-
setSslConfiguration
-
setPipelineHandler
public void setPipelineHandler(io.netty.channel.ChannelHandler name) -
setDispatchToCustomSequence
-
setClientBroadcastLevel
public void setClientBroadcastLevel(int clientBroadcastLevel) -
setOutflowDispatchSequence
-
setOutflowErrorSequence
-
setSubprotocolHandlers
-
setInflowIdleTime
public void setInflowIdleTime(int inflowIdleTime) -
setOutflowIdleTime
public void setOutflowIdleTime(int outflowIdleTime) -
setPassThroughControlFrames
public void setPassThroughControlFrames(boolean passThroughControlFrames) -
initChannel
- Specified by:
initChannelin classio.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>- Throws:
Exception
-
setPortOffset
public void setPortOffset(int portOffset)
-