@ChannelHandler.Sharable public class XHRPollingTransport extends BaseTransport
| Constructor and Description |
|---|
XHRPollingTransport(String connectPath,
AckManager ackManager,
DisconnectableHub disconnectable,
CancelableScheduler scheduler,
AuthorizeHandler authorizeHandler,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
Iterable<SocketIOClient> |
getAllClients() |
void |
onDisconnect(MainBaseClient client) |
getAllClientschannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic static final String NAME
public XHRPollingTransport(String connectPath, AckManager ackManager, DisconnectableHub disconnectable, CancelableScheduler scheduler, AuthorizeHandler authorizeHandler, Configuration configuration)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void onDisconnect(MainBaseClient client)
public Iterable<SocketIOClient> getAllClients()
Copyright © 2012–2014. All rights reserved.