@ChannelHandler.Sharable
public class PollingTransport
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
PollingTransport(PacketDecoder decoder,
AuthorizeHandler authorizeHandler,
ClientsBox clientsBox) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected void |
onGet(UUID sessionId,
io.netty.channel.ChannelHandlerContext ctx,
String origin) |
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final String NAME
public PollingTransport(PacketDecoder decoder, AuthorizeHandler authorizeHandler, ClientsBox clientsBox)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected void onGet(UUID sessionId, io.netty.channel.ChannelHandlerContext ctx, String origin)
Copyright © 2012–2021. All rights reserved.