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