public class WebSocketServerUpstreamHandler extends NettyServerUpstreamHandler
allChannels, channelHandler, closedReason, ioErrorLogger, logger, sender| Constructor and Description |
|---|
WebSocketServerUpstreamHandler(LoggerFactory loggerFactory,
ChannelHandler channelHandler,
org.jboss.netty.channel.group.ChannelGroup channelGroup,
boolean cumulative) |
| Modifier and Type | Method and Description |
|---|---|
protected ChannelSender |
createSender(org.jboss.netty.channel.Channel channel) |
protected void |
handleWebSocketFrame(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
channelClosed, channelOpen, createContext, createContext, exceptionCaughtpublic WebSocketServerUpstreamHandler(LoggerFactory loggerFactory, ChannelHandler channelHandler, org.jboss.netty.channel.group.ChannelGroup channelGroup, boolean cumulative)
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerExceptionprotected void handleWebSocketFrame(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame)
throws Exception
Exceptionprotected ChannelSender createSender(org.jboss.netty.channel.Channel channel)
createSender in class NettyServerUpstreamHandlerCopyright © 2021. All rights reserved.