@ChannelHandler.Sharable
public class SSLAwareChannelHandler
extends io.netty.channel.ChannelDuplexHandler
Modifier and Type | Class and Description |
---|---|
class |
SSLAwareChannelHandler.ObjectChannelImpl |
Constructor and Description |
---|
SSLAwareChannelHandler(ChannelListener.ChannelListenerFactory listenerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
int |
getConnectedChannels() |
int |
getMaxConnectedChannels() |
long |
getObjectsRead() |
long |
getObjectsWritten() |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
bind, close, connect, deregister, disconnect, flush, read, write
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public SSLAwareChannelHandler(ChannelListener.ChannelListenerFactory listenerFactory)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelActive
in interface io.netty.channel.ChannelInboundHandler
channelActive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void messageReceived(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
Exception
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelInactive
in interface io.netty.channel.ChannelInboundHandler
channelInactive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public long getObjectsRead()
public long getObjectsWritten()
public int getConnectedChannels()
public int getMaxConnectedChannels()
Copyright © 2020. All rights reserved.