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 Summary
Constructors Constructor Description InboundWebsocketChannelInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initChannel(io.netty.channel.socket.SocketChannel websocketChannel)
void
setClientBroadcastLevel(int clientBroadcastLevel)
void
setDispatchToCustomSequence(String dispatchToCustomSequence)
void
setInflowIdleTime(int inflowIdleTime)
void
setOutflowDispatchSequence(String outflowDispatchSequence)
void
setOutflowErrorSequence(String outflowErrorSequence)
void
setOutflowIdleTime(int outflowIdleTime)
void
setPipelineHandler(io.netty.channel.ChannelHandler name)
void
setPortOffset(int portOffset)
void
setSslConfiguration(InboundWebsocketSSLConfiguration sslConfiguration)
void
setSubprotocolHandlers(ArrayList<AbstractSubprotocolHandler> subprotocolHandlers)
-
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
-
-
-
Method Detail
-
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)
-
initChannel
protected void initChannel(io.netty.channel.socket.SocketChannel websocketChannel) throws Exception
- Specified by:
initChannel
in classio.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
- Throws:
Exception
-
setPortOffset
public void setPortOffset(int portOffset)
-
-