@ChannelHandler.Sharable public class AuthorizeHandler extends io.netty.channel.ChannelInboundHandlerAdapter implements Disconnectable
| Constructor and Description |
|---|
AuthorizeHandler(String connectPath,
CancelableScheduler scheduler,
Configuration configuration,
NamespacesHub namespacesHub,
StoreFactory storeFactory,
DisconnectableHub disconnectable,
AckManager ackManager,
ClientsBox clientsBox) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
connect(ClientHead client) |
void |
connect(UUID sessionId) |
void |
onDisconnect(ClientHead client) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic AuthorizeHandler(String connectPath, CancelableScheduler scheduler, Configuration configuration, NamespacesHub namespacesHub, StoreFactory storeFactory, DisconnectableHub disconnectable, AckManager ackManager, 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.ChannelInboundHandlerAdapterExceptionpublic void connect(UUID sessionId)
public void connect(ClientHead client)
public void onDisconnect(ClientHead client)
onDisconnect in interface DisconnectableCopyright © 2012–2014. All rights reserved.